Re: s2 override request_locale

2007-12-28 Thread Markus Stauffer
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

Re: s2 override request_locale

2007-10-17 Thread Dave Newton
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