[
https://issues.apache.org/jira/browse/MYFACES-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547999
]
Martin Marinschek commented on MYFACES-1782:
--------------------------------------------
So you're saying the default grouping separator for the fr_FR locale is \u00a?
regards,
Martin
> France Locale and NumberConverter doesn't work well with currency strings
> -------------------------------------------------------------------------
>
> Key: MYFACES-1782
> URL: https://issues.apache.org/jira/browse/MYFACES-1782
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-252
> Affects Versions: 1.2.0
> Reporter: Matthias Weßendorf
> Assignee: Matthias Weßendorf
> Attachments: MYFACES-1782.patch
>
>
> This test-case shows, that there is a failure inside the standard
> NumberConverter (MyFaces):
> protected void setUp() throws Exception
> {
> super.setUp();
> mock = new NumberConverter();
> mock.setLocale(Locale.FRANCE);
> FacesContext.getCurrentInstance().getViewRoot().setLocale(Locale.GERMANY);
> }
> public void testFranceLocale()
> {
> UIInput input = new UIInput();
> mock.setType("currency");
> Number number = (Number)
> mock.getAsObject(FacesContext.getCurrentInstance(), input, "12 345,68
> €");
> assertNotNull(number);
> }
> the grouping_sep should be a nb-space...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.