You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2016/04/06 19:20:25 UTC
[jira] [Commented] (WICKET-6138) Allow setting Locale for
NumberTextField
[ https://issues.apache.org/jira/browse/WICKET-6138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228680#comment-15228680 ]
Sven Meier commented on WICKET-6138:
------------------------------------
NumberTextField is meant to be used for HTML5 number input control:
https://www.w3.org/TR/html-markup/input.number.html
This requires the value to be rendered in floating-point representation.
You can use a plain TextField<Integer> for entering numbers in locale dependent representations.
> Allow setting Locale for NumberTextField
> ----------------------------------------
>
> Key: WICKET-6138
> URL: https://issues.apache.org/jira/browse/WICKET-6138
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.22.0
> Reporter: Sergiu Hlihor
> Assignee: Sven Meier
> Priority: Minor
>
> NumberTextField does all the conversions using Locale.ENGLISH which does not make it suitable for displaying floating point numbers in other languages.
> The usage of user set Locale would help greatly as no custom classes would be needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)