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

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

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

Christoph Leiter updated WICKET-5046:
-------------------------------------

    Attachment: WICKET-5046.patch
    
> 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
>            Priority: Minor
>         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