Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3029

DoubleConverter isn't Locale aware

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.4
    • None
    • None

    Description

      Our DoubleConverter currently always use Double.valueOf() but this just takes the default Locale of the server we run at.

      But the String representing the double might be different depending on the Users Locale.
      E.g. in Germany, a double of 47.33 will be written as "47,33", whereas in the US, the decimal separator will be a dot: "47.33"

      Attachments

        1. MYFACES-3029.patch
          5 kB
          Mark Struberg

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: