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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -