2 Replies Latest reply on Jan 8, 2007 2:21 AM by Günter Gartner

    s:decorate with h:inputText with f:convertNumber on Float

    Günter Gartner Newbie

      hi,
      I tried to decorate an inputText with convertNumber on a Float value within a form.

      ...
       <s:decorate>
       <h:inputText id="afloat" value="#{action.fl}">
       <f:convertNumber maxFractionDigits="2" minFractionDigits="2"/>
       </h:inputText>
      </s:decorate>
      ...


      It works with an Double but not with Float. Any Ideas?
      regards