Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0-core
-
None
Description
1. Create a JSF page with following code snippet:
<af:inputText label="Test Input: " id="inputText1">
<af:convertNumber type="currency" locale="no_NO"/>
</af:inputText>
2. Add support locale to faces-config.xml
<locale-config>
<default-locale>en</default-locale>
<supported-locale>no_NO</supported-locale>
<locale-config>
3. Run the page. The suggested format is a string like "kr 10 250,00". Enter a similar string and tab off, an error pops up with the message "Error: The currency format is incorrect. Enter a currency in the same format as this example: kr 10 250,00"