Re: GWT Bean Validation doubts
*Bump*
I'd be interested in answers, too :)
Am Donnerstag, 18. Oktober 2012 17:46:46 UTC+2 schrieb vehdra music:
Hi.--I am trying to use GWT Bean Validation but I can't find in the docs wich ones are the supported annotations in client side and server side. For example I've tried to use @Email and it seems doesn't work.So I would like to know if there some list of supported annotations.On the other side I can't figure how can I throw customConstraintViolationException( s) in my ServiceImpl. For example I can't have 2 users with the same email. So, in my UserServiceImpl.create() method I would like to throw a ConstraintViolationException if someone tries to register with a email that is already in the database. But I can't figure how to throw a ConstraintViolationException in this case.
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/-/VuE3B9WsKKcJ.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home