[
https://issues.apache.org/jira/browse/WICKET-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556730#action_12556730
]
Gerolf Seitz commented on WICKET-1254:
--------------------------------------
you can easily create a subclass of AbstractNumberConverter and do the
conversion yourself with DecimalFormat.
i agree that this might be confusing as it "somehow" works.
i'd say we should either provide a BigDecimalConverter as default or remove the
"broken" magic default conversion (which is pretty much impossible right now)
what do others think?
> Binding to a BigDecimal don't honor browser locale
> --------------------------------------------------
>
> Key: WICKET-1254
> URL: https://issues.apache.org/jira/browse/WICKET-1254
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-rc2
> Environment: Windows XP, Firefox 2.0.0.11, tomcat-5.5.25, Java
> 1.6.0_03
> Reporter: Eduardo Issao Ito
>
> Binding from a TextField to a BigDecimal property does not honor the Locale
> used by the browser.
> With the pt_BR locale configured in Firefox, binding "0,25" to a Double works
> as expected giving 0.25 value, but to a BigDecimal it gives the error "'0,25'
> não é um BigDecimal válido."
> It is a major problem with localized applications.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.