Hi all,

since version 5.1 the ComponentEventLinkEncoder determines and sets the
locale for the current thread.

In version 5.0 this was the job of a RequestFilter. We used a solution
like the one in the wiki[1] to set the locale based on other request
criteria.

The RequestFilter still works for normal requests, but requests which
result in an Component event (like a form submit) do not set the desired
locale because our logic is triggered but later overwritten by the
ComponentEventLinkEncoder.

Has anyone solved this problem? How should and can I set the thread's
locale? The "Localization"[2] documentation is no help in this case.

Regards, Kai

[1] http://wiki.apache.org/tapestry/Tapestry5HowToDomainLevelLocalization
[2] 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