2 Replies Latest reply on May 18, 2009 7:37 AM by praveen jain

    how to customize validation message

    praveen jain Novice

      i want ot use a custom message for validation

      <h:inputText style="width: 400px;" required="true"
       value="#{mainBind.customWizard.clstrDtl.clusterInfo.name}" id="clstrname">
       <f:validateLength minimum="3" maximum="12" />
       <rich:ajaxValidator event="onblur" summary="Enter Cluster Name" focus="clstrname"/>
       <rich:message for="clstrname" showDetail="false" showSummary="true"/>
       <br />

      i am using this code but in validatino message i ma getttning formname:contrl:msg
      but i just want a custom meessage ? what i need to do?