Hello group.
I use GWT RequestFactory and Hibernate validation to make syntactic
validation.
I have one object who need to be validated, but in different cases I need
validation on different fields.
Short example:
class User {
@NotNull
private String name;
@NotNull
private String nickName;
}
In one case I want to load User by name, and want to perform syntactic
validation only by name field. In other case validation need to be performed
by nickname.
Is there any way to use Validating Groups?
any other solution?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.