Hello!

Our application allows the user to his preferred language permanently.
The value is stored in the user database and retrieved when the user
logs in.

But I am unsure about how to set the locale correctly after login.
Currently it is set with PersistentLocale.set in the layout component
which is used for every page, concretely in the SetupRender-method. This
does not work for the first page after login.

The localization guide[0] is very clear about this:

"You will see the new locale take effect on the next request. If it is
changed in a component event request (which is typical), the new locale
will be used in the subsequent page render request."

So is there a way to implement this setting?

TIA
 Stephan

[0] http://tapestry.apache.org/tapestry5/guide/localization.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to