Hi,

How can you set the locale of a page on the *first* page load of the entire application. I store the locale in a cookie, and when the user comes to the login page I want it to display in their favorite locale.

I searched the list and learned that you can change the locale in a listener by:

        cycle.cleanup();
        throw new PageRedirectException(this);

However, this does NOT work in the pageBeginRender method... Maybe it's already too late to try to change the locale there, but I don't know where to change it otherwise. Does anybody know how to do it before the first page of the application is displayed?

Thanks in advance!

Greetings,
Sebastiaan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to