Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2371

nls:client side currency numberconverter rejects formatted-well value in no_no

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-core
    • 2.1.0-core
    • Components
    • 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"

      Attachments

        1. jira-2371.patch
          8 kB
          Anand V Nath

        Activity

          People

            gabrielle Gabrielle Crawford
            anand.v.nath@oracle.com Anand V Nath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: