Friday, September 30, 2011

Re: RequestFactory and JSR 303 validator behavior customization

You can turn validation off (or customize it) in RF using a ServiceLayerDecorator.

If you want, using the same approach, you could also implement some kind of "validate the arguments of this method before calling it" (triggered, or disabled, by an annotation on the method) but then you couldn't trigger an onConstraintViolations on the client, only an onFailure for that particular invocation.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/685mmVl8tIsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment