myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luka Surija <luka.sur...@iytim.hr>
Subject Re: [jira] Commented: (TRINIDAD-1480) XMLMenuModel resourceBundle does not use f:view (viewRoot) locale
Date Thu, 06 Aug 2009 12:15:27 GMT
You can also do <menu ...... resourceBundle="some.bundle" var="var" 
locale="#{Bean.locale}" > in root node of menu-model.xml.



Jasper de Vries (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/TRINIDAD-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733572#action_12733572
] 
>
> Jasper de Vries commented on TRINIDAD-1480:
> -------------------------------------------
>
> Oh, and when you hard code the locale in the index.jspx (<f:view locale="en">)
the menu also is in Dutch.
>
>   
>> XMLMenuModel resourceBundle does not use f:view (viewRoot) locale
>> -----------------------------------------------------------------
>>
>>                 Key: TRINIDAD-1480
>>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1480
>>             Project: MyFaces Trinidad
>>          Issue Type: Bug
>>         Environment: Tomcat 6.0, Trinidad 1.2.11, JDK 1.6.0_07, Windows XP SP2 and
Ubuntu 8.04
>>            Reporter: Jasper de Vries
>>         Attachments: trinidad1480.war
>>
>>
>> XMLMenuModel resourceBundle does not use f:view (viewRoot) locale.
>> We have multiple languages defined in our faces-config.
>> Our viewRoot locale works as expected.
>> XMLMenuModel resourceBundle seems to be using the OS locale.
>>     
>
>   

Mime
View raw message