@NotNull has no effect on validation. And the @Length annotation is only used when the value is not null.
So you need to add required="true" to your h:inputText to make it work ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965564#3965564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965564 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user