No, I have a public String getLocale() method and no public Locale getLocale() method.
Mike Kienenberger wrote: > > Do you have a LanguageManager "public Locale getLocale()" method? > > You need to have a "public String getLocale()" method. > > http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage3.html > > > On 8/31/07, Eric Lewandowski <[EMAIL PROTECTED]> 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#a12429133 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/MyFaces-1.2%2C-f%3Aview%2C-locale-management-tf4360980.html#a12429421 Sent from the MyFaces - Users mailing list archive at Nabble.com.

