3 Replies Latest reply on Jan 21, 2008 6:24 AM by Daniel Soneira

    f:convertNumber (currency) fails every time

    David M. Karr Newbie

      This may not even be a RichFaces problem, but I'm not sure whether RichFaces insinuates itself into areas I'm not aware of.

      I have an "h:inputText" element with a "f:convertNumber" with type currency. No matter what reasonable values I enter into the field (like "0" or "0.00"), I always get a conversion error. Only an empty string passes conversion.

      My page code is the following:

      <h:inputText id="valueIn" value="#{ratingRequest.propertyList[0].value}">
       <f:convertNumber type="currency" currencySymbol="$"/>
      </h:inputText>