[
https://issues.apache.org/jira/browse/TRINIDAD-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabrielle Crawford resolved TRINIDAD-1958.
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-2
Assignee: Gabrielle Crawford
> Client tr:numberConverter with type="currency" incorrectly handles arabic
> locale for positive values
> ----------------------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1958
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1958
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.2.13-core
> Reporter: Yee-Wah Lee
> Assignee: Gabrielle Crawford
> Priority: Minor
> Fix For: 2.0.0-beta-2
>
>
> 1. Use the following jspx, binding the value of the inputText to a positive
> integer.
> <tr:inputText label="InputText Arabic" value="#{clientValidation.integer}"
> autoSubmit="true">
> <tr:convertNumber type="currency" locale="ar_SA"/>
> </tr:inputText>
> <tr:outputText value="Value submitted is
> #{clientValidation.integer}"/>
> 2. Run the jspx, it displays something like:
> 2ر.س. 0
> 3. Modify just the numerical portion of the text and tab off: Get an
> Incorrect Format error
> Enter a currency in the same format as this example: ر.س. 10,250
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira