[ 
https://issues.apache.org/jira/browse/TRINIDAD-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492506#comment-13492506
 ] 

Yee-Wah Lee commented on TRINIDAD-2338:
---------------------------------------

The client numberConverter is using the page (en) locale so it does not 
recognize the number formatted in Arabic (even though it is valid). 
                
> client tr:numberconverter uses the page locale instead of converter locale to 
> parse a number
> --------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2338
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2338
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Yee-Wah Lee
>            Priority: Minor
>
> 1) Use the following jspx:              
>           <tr:inputText label="numberConverter, ar locale" value = 
> "#{converterValidator.negDoubleValue1}">
>             <tr:convertNumber type="number" locale="ar"/>
>           </tr:inputText>
>            <tr:commandButton text="Submit"/>
> where negDoubleValue1 returns a negative double.
> 2) Load the page with a non-AR locale, e.g. en_US
> 3) Run the page, and modify a digitin the negDouble value (so it is still 
> valid). Submit the page - It throws an error about being an invalid number.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to