OK. The problem seems to be in MyFaces 1.2 or Trinidad 1.2.1

I downgraded the version of third party uses to MyFaces 1.1.5 and Trinidad
1.0.2 and it works !



Eric Lewandowski wrote:
> 
> Hi 
> 
> I want to change the locale for all my faces pages.
> so, I wrote a bean defined as languageManager. This bean store the locale
> selected by user and can get it.
> 
> in my pages , I defined a tag f:view :
> <f:view locale="#{languageManager.locale}">
> ...
> 
> When MyFaces evaluates the tag f:view, it calls the constructor of
> languageManager but never call the getLocale() method. So the evaluation
> of f:view throws an exception because of null value of
> languageManager.locale.
> 
> Can anobody help me ?
> 
> Configuration : MyFaces 1.2.0
>                     Trinidad 1.2.1
>                     Facelets 1.1.11
> 
> Thanks.
> 

-- 
View this message in context: 
http://www.nabble.com/MyFaces-1.2%2C-f%3Aview%2C-locale-management-tf4360980.html#a12430770
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to