On Saturday, November 30, 2013 6:41:44 PM UTC+1, Csaba Lép wrote:
Ok, i figured out, it not necessary any exception throwing, it's working automatically but only with the Default.class.So, the second question is, how can is set up to working with any other group e.g. ServerGroup.class or something like this.
If you want to use any other group than Default unconditionally, then you can use a ServiceLayerDecorator and override the validate() method.
Otherwise (if you want different groups to be validated depending on, for example, the service method(s) being called), you'll have to do it in the service methods. In that case, it's like any other exception, not at all like the built-in validation.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment