0 Replies Latest reply on Nov 3, 2011 12:19 AM by Kelvin Cai

    rich:validator i18n message error

    Kelvin Cai Newbie

      I use rich:validator like this:

      <h:inputText value="#{codeManageBean.curCode.codeType}" id="codeType" required="true" size="20" label=" " >

         <f:validateLength minimum="2" maximum="20"/>    

         <rich:validator event="blur" />

      </h:inputText>

      <rich:message for="codeType" />

       

      When I test it,the validate message using:javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE

      Why?

       

      Another problem is,  required="true" not work for client validation,I have to use <f:validateRequired/>

       

       

      version:richfaces-4.1.0.20111014-M3