[jboss-user] [JBoss Seam] - Re: @IfInvalid is out, so?

SmokingAPipe do-not-reply at jboss.com
Thu Dec 14 17:40:26 EST 2006


AYE SANTA MARIA that was painful.  I spent about a day going over examples etc to figure out why that wasn't working.  That fixed it.  If you have a @Length validation on the bean, put a required="true" attribute into the inputText JSF component, and it works as expected.  

Here's the URL for the Seam Problems Faq:

http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ

It's the last item.  The explanation there is terse.  It should say in big letters, "If you use Hibernate validations on your bean, you must also put required="true" in your JSF code."


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

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



More information about the jboss-user mailing list