[jboss-user] [JBoss Seam] - Re: problems with seam 2.0.0GA and custom validation message

jacob.orshalick do-not-reply at jboss.com
Mon Dec 17 23:17:59 EST 2007


This is a very common JSF problem.  required=true must be specified because JSF will not kick off any validation for empty fields.  This means that you are limited to the REQUIRED message unless you do your own custom handling.  The approach I've used in the past can be found at:

http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Ceventvalidate%7Csf_amg_messagesoverride~html/

Under "Add Field Reference Information to a Message."  I've also seen slightly different takes on this approach in a number of blogs.  Hope that helps.

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

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



More information about the jboss-user mailing list