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