MyFaces Core
  1. MyFaces Core
  2. MYFACES-641

<f:convertNumber type="currency"/> not working properly.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:
      Win XP Professional SP2

      Description

      <h:outputText value=#

      {object.dollarAmount}

      ">
      <f:convertNumber type="currency"/>
      </h:outputText>

      When using the sun implementation of JSF it outputs the following: $1,200.55
      When using the MyFaces implemenation if output the following: ¤1,200.55

      The pattern being used is correct. But the currency symbol isn't automatically determined based on my locale the same way the SUN implementation is done.

      Having this automatically determined based on the systems locale makes this better for applications aiming to support multiple languages (I18N).

        Issue Links

          Activity

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              Tim Mashinter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development