Markus Stauffer wrote:
Another thing that I do not understand is why in the default Interceptor
stack the i18n intereceptor is called after the prepare interceptor. In
the prepare() methode the Locale is not set, because the i18n interecptor
is invoked later in the stack. I had to manualy regro
It is not the best solution to Implement the LovaleProvider and the
getLocale() method:
Instead I wrote my own Interceptor that manual set the
Locale "invocation.getInvocationContext().setLocale()".
Another thing that I do not understand is why in the default Interceptor
stack the i18n interece
Have you tried overriding the getLocale() method of
ActionSupport-derived classes?
--- Markus Stauffer <[EMAIL PROTECTED]> wrote:
> Dear All
>
> Consider the following scenario: The preferred
> language of the user is
> store in the database. I want to override any
> struts2 i18n settings
> when
Dear All
Consider the following scenario: The preferred language of the user is
store in the database. I want to override any struts2 i18n settings
when the user logs in. What is stored in the database is of higher
priority than e.g. what the web browser sends in the HTTP request
headers.
How can
4 matches
Mail list logo