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

Adam Winer resolved TRINIDAD-637.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3-core
         Assignee: Adam Winer

Fixed, thanks for the report.

> MenuModel is looking at the wrong locale
> ----------------------------------------
>
>                 Key: TRINIDAD-637
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-637
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Luka Surija
>            Assignee: Adam Winer
>            Priority: Critical
>             Fix For: 1.0.3-core
>
>
> Currently MenuModel locale is the same as requestLocale, but should be same 
> as ViewRoot Locale:
> Locale requestLocale =
> > facesContext.getExternalContext().getRequestLocale();   <== this one should 
> > not be here
> >
> > // Make sure it is not null
> > if (requestLocale == null)
> > {
> > requestLocale = facesContext.getViewRoot().getLocale();
> > if (requestLocale == null)
> > {
> > requestLocale = facesContext.getApplication().getDefaultLocale();
> > }
> > }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to