You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/19 16:45:13 UTC

[jira] [Resolved] (WICKET-5046) NumberTextField should use appropriate validator

     [ https://issues.apache.org/jira/browse/WICKET-5046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5046.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.7.0
         Assignee: Martin Grigorov
    
> NumberTextField should use appropriate validator
> ------------------------------------------------
>
>                 Key: WICKET-5046
>                 URL: https://issues.apache.org/jira/browse/WICKET-5046
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.5.0
>            Reporter: Christoph Leiter
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.7.0
>
>         Attachments: WICKET-5046.patch
>
>
> As it is now the NumberTextField always uses a range validator. If there's a missing bound it is calculated to be the min/max of the given datatype. This results in error messages like "value has to be between 1 and 2147483647" which isn't very user friendly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira