[jboss-user] [JBoss Seam] - Re: How to force validation of Seam components bound to the

grettke_spdr do-not-reply at jboss.com
Wed Jun 27 15:36:32 EDT 2007


"gavin.king at jboss.com" wrote : Well, thats a FAQ. JSF validators cannot validate null values. So @NotNull is ignored. You need to use required=true for that. Then you can use Hibernate Validator annotations for validating the entered value.

Right, I remember reading about that bit, JSF won't validate anything unless you specify required=true.

Thanks Gavin.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058391#4058391

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058391



More information about the jboss-user mailing list