I want add error message to a html input, but without success:
| @In
| private FacesMessages facesMessages;
|
| this.facesMessages.addFromResourceBundle(
| "testInputID",
| "value.missing",
| (Object[]) null
| );
|
| <h:selectOneMenu value="#{someValue}" id="testInputID">
| <f:selectItems value="#{someSelectItems}"/>
| </h:selectOneMenu>
| <h:message for="testInputID" styleClass="error"/>
something wrong?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052042#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...