[ http://issues.apache.org/jira/browse/TAPESTRY-827?page=all ]
Jesse Kuhnert resolved TAPESTRY-827.
------------------------------------
Resolution: Fixed
Appears to be working correctly for me on both client and server.
There is one catch though. By default DecimalFormat doesn't allow grouping
separators to exist in the input string, so if you want that ability you'll
have to give it a pattern like "#,###" where the comma will be replaced by
whatever grouping separator is used in the current locale.
> Incorrect parsing of decimals in French locale by NumberTranslator
> ------------------------------------------------------------------
>
> Key: TAPESTRY-827
> URL: http://issues.apache.org/jira/browse/TAPESTRY-827
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0
> Environment: Tomcat 5.0, jre 1.4.2, ie 6.0
> Reporter: Michael Thronton
> Priority: Minor
> Fix For: 4.1.1
>
>
> When validating numbers using NumberTranslator with French locale incorrect
> parsing of a user entered decimal occurs. Example, 55 000 results in a String
> value of 55 being returned by NumberTranslator. Reason being that the user
> enters a space (0x20) as the grouping separator, however,
> java.text.DecimalFormat expects a non-breaking space (0xA0). The tranlsator
> should replace grouping separator spaces with non-breaking spaces?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]