Wednesday, June 26, 2013

RequestFactory validate entity


I've a question on bean validation using RequestFactory. Here's my scenario.

There's an application based on Spring Framework with a service layer. A WebApplicationContext is initialized and the services can be used by firing RequestContext on client side. Let's suppose I wanna save an entity. The context's save method get fired, a service method is invoked. The entity on the server side is valid. But in the service method another entity must be edited. That entity manipulation could raise ConstraintViolationException. When this happens, on the client side in the Receiver the onFailure method get called and I can't access that ConstraintViolation.
Is there a way/workaround to handle in the Receiver another entity's ConstraintViolation?

Thanks in advance!


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment