Wednesday, July 27, 2011

Re: Question about the API of Validation

Ok. Thanks for the info.

Regards.

2011/7/26 Nick Chalko <nchalko@google.com>
Remember 
@Valid 
Foo foo.

Just recurses into foo calling the Validator on it. 

@Valid
Integer int.  
at best will do nothing because the Integer class has no constraints. 

@Valid is made for your classes that you have put constraints on.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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.



--
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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