[jboss-user] [JBoss Seam] - Re: Why control IDs in validation messages?
ruettimac
do-not-reply at jboss.com
Sun Dec 30 03:15:50 EST 2007
I just discovered, that the validation messages from hibernate validator are displayed as in the hibernate validator message bundle except for instance the @NotNull - this is coming from the JSF framework because I have to switch on the attribute required="true". I have now modified
javax.faces.component.UIInput.REQUIRED=Value is required.
to have an uniform message for each input field. For me, this is the easiest way. For me, the validation thing it is still not transparent because some things come from the JSF Validation Framework and some pieces from hibernate validator framework. Why that is clear because of the way the frameworks are plugged in into seam and where the validation occures. Maybe there is a way to uniform this behaviour?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116066#4116066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116066
More information about the jboss-user
mailing list