[jboss-user] [JBoss Seam] - facesMessages and element id

kooudy do-not-reply at jboss.com
Thu Jun 7 06:25:28 EDT 2007


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#4052042

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



More information about the jboss-user mailing list