0 Replies Latest reply on Jan 11, 2008 8:27 AM by Oscar Farga

    Using inputNumberSpinner with convertNumber

    Oscar Farga Newbie

      I'm trying to use inputNumberSpinner with convertNumber and I have some problem.
      Here's my code:
      <rich:inputNumberSpinner value="#{waitTvContingutHome.instance.contingut.horaInici}" minValue="0" maxValue="23" styleClass="hora" cycled="true" >
      <f:convertNumber minIntegerDigits="2"/>
      </rich:inputNumber>

      When I show the value it works, it formats the value to 2 digits, but when I send the form, I get some unknown validation error (it shows no message).
      I would like to use the converter attribute, but I don't know how to use it for my purpose. Do I have to create and register my own Converter just to do this?
      Thanks
      Oscar