You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/08 20:32:27 UTC

[jira] [Resolved] (MYFACES-3269) UIViewRoot.getLocale only convert some common locales passed as string

     [ https://issues.apache.org/jira/browse/MYFACES-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3269.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8

> UIViewRoot.getLocale only convert some common locales passed as string
> ----------------------------------------------------------------------
>
>                 Key: MYFACES-3269
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3269
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.8, 2.1.2
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira