[ http://issues.apache.org/jira/browse/MYFACES-557?page=all ] Sylvain Vieujot closed MYFACES-557: -----------------------------------
Resolution: Invalid Sorry, the bug was in my application. > f:convertNumber always sets the backing bean value to 0 > ------------------------------------------------------- > > Key: MYFACES-557 > URL: http://issues.apache.org/jira/browse/MYFACES-557 > Project: MyFaces > Type: Bug > Reporter: Sylvain Vieujot > > An inputText with a convertNumber always sets the backing bean value to 0. > The validation(s) is(are) performed, and a convertion error is thrown if the > data isn't valid, but the result is always 0. > Examples : > <h:inputText value="#{paymentTermsFace.number}" size="4"> > <f:convertNumber/> > </h:inputText> > <h:inputText value="#{paymentTermsFace.delayNextMonthOnThe}" size="3"> > <f:convertNumber integerOnly="true"/> > <f:validateLongRange minimum="0" maximum="28"/> > </h:inputText> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira