[richfaces-issues] [JBoss JIRA] Commented: (RF-9935) inputNumber components: number converter should be attached to component

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Dec 16 12:51:18 EST 2010


    [ https://issues.jboss.org/browse/RF-9935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570771#comment-12570771 ] 

Nick Belaevski commented on RF-9935:
------------------------------------

IMHO, this issue is questionable: if string type is used as value, then application developer is expected to do the necessary checks; otherwise if any numeric type is used as value, then conversion will happen.

> inputNumber components: number converter should be attached to component
> ------------------------------------------------------------------------
>
>                 Key: RF-9935
>                 URL: https://issues.jboss.org/browse/RF-9935
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.Milestone5
>
>
> <rich:inputNumberSpinner value="50" step="10" enableManualInput="true">
>     <a4j:ajax event="inputkeyup"/>
> </rich:inputNumberSpinner>
> if you will add letter to text field - it will be submitted to server and will not be processed by any default converter no messages will be thrown.
> Should works the same as for calendar date. (I still could store to String model value but only valid values)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list