[jboss-user] [JBoss Seam] - Re: Form Validation Question:Entity Bean @NotNull vs. requir

ruettimac do-not-reply at jboss.com
Tue Jan 15 02:31:05 EST 2008


Hi,

Please keep in mind, that JSF will validate required="true" before hitting @NotNull in your entity bean (Thanks to the pointer Pete). If you leave the field empty, you will receive the error message from JSF and not from the Hibernate Validator Framework! The seam team is aware of this issue.

Regards,

Cyrill

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

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



More information about the jboss-user mailing list