I need to do some extra validation in certain actions -- for failed validation, I can set
control-specific error messages in the action method via:
FacesMessages.instance().addToControl("name", new InvalidValue("my error
text", MyClass.class, "name", getInstance().getName(), getInstance()));
but I've not figured out how to set the "invalid" state so that the
${invalid} EL function returns true (without setting invalid, my form displays the error
messages, but does not highlight the field input controls in red as a normal
HibernateValidation error would.
Help? (and thanks)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065550#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...