struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Preparable interface & getLocale(
Date Fri, 11 May 2007 12:37:16 GMT
Yep, Dave is right. I can't think of any reason why the i18 interceptor
wouldn't be first, but hey, it is friday! Anyway, as a workaround you can
make your own interceptor stack.

musachy

On 5/11/07, Dave Newton <newton.dave@yahoo.com> wrote:
>
> --- Torsten Römer <torsten.roemer@luniks.net> wrote:
> > I noticed that when calling getLocale() from
> > prepare(), it seems to return the system default
> > locale instead of the locale set by the
> > request_locale request parameter, which is the case
> > when calling it from execute().
> >
> > Is that supposed to be like that or could this be a
> > bug?
>
> I believe the default interceptor stack has prepare
> running before i18n.
>
> d.
>
>
>
>
> ____________________________________________________________________________________Give
> spam the boot. Take control with tough spam protection in the all-new Yahoo!
> Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message