You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Luka Surija <lu...@iytim.hr> on 2009/08/06 14:15:27 UTC

Re: [jira] Commented: (TRINIDAD-1480) XMLMenuModel resourceBundle does not use f:view (viewRoot) locale

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.
>>     
>
>