Yee-Wah Lee created TRINIDAD-2338:
-------------------------------------
Summary: 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