jsf - richfaces and displaying errormessages -
<h:form id="usersettingsform"> <rich:messages> <f:facet name="errormarker"> <h:graphicimage value="/img/msgerror.png" /> </f:facet> </rich:messages> <h:outputtext value="description:" /> <h:inputtext label="description:" id="description" value="#{usersettingsform.instance.description}" required="true" size="5"> <f:validatelength minimum="3" /> </h:inputtext> <a:commandbutton value="validate" /> </h:form>
when error occurs see e.g. this: screenshot
how can display text "description" in front of "required field" ?
like used on richfaces demo page @ richfaces demo page
take @ <rich:message>
- shows single message.
Comments
Post a Comment