I have a User class which has an email string field annotated with @NotNull @Email.
I used seam-gen to generate everything for it. UserList, UserHome, etc. Now when I try to
search for a username in the generated UserList.xhtml I get an error "must be a
well-formed email address". So I guess that even for the object used to hold the
search parameters validation is enabled. Is it possible to turn this off? Don't think
it makes any sense at all to validate search strings. Now I could write an extra class to
only hold the search parameters but switching validation off for the search parameter
object would seem nicer to me.
Thanks, Thorsten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115413#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...