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

UIViewRoot.getLocale only convert some common locales passed as string

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: JSR-314
    • Labels:
      None

      Description

      UIViewRoot.getLocale only convert some common locales passed as string. It does not check for variant inside the locale. By the spec, it is valid to pass a string value or ValueExpression pointing to a string value.

      I think it is better to copy LocaleUtils class from commons lang and use it.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: