Problem solved!
It was all a programming error. We added session.invalidate() after the
setLocale. That made the default Locale to be used.
Good to know that setLocale(myRequest, locale) doesn't set the myRequest
locale (as I assumed), but the Globals.LOCALE_KEY object in the session.
Thank
AIL PROTECTED]> wrote:
> Seems your right.
> (Locale) request.getSession().getAttribute(Globals.LOCALE_KEY);
> does give me the Locale I just set. My problem is that I wan't to
> programatically set the language for all the aplication, including the
> in the JSPs. I thought setLo
Seems your right.
(Locale) request.getSession().getAttribute(Globals.LOCALE_KEY);
does give me the Locale I just set. My problem is that I wan't to
programatically set the language for all the aplication, including the
in the JSPs. I thought setLocale() did the
trick. How do I set de Local
My understanding of it (which could be incorrect) is that setLocale(request,
locale) only sets the locale that Struts uses internally. It doesn't set the
locale that the request object uses, or any other processes that looks for
locale in the request object.
If you somehow need the locale
OK. At least I know you got the message. Hope somebody has an idea,
because I'm really lost!
> Option (c) - but that's just in my case..:)
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
Option (c) - but that's just in my case..:)
> -Original Message-
> From: Hernan Soulages [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: setLocale 2.0
>
>
> I sent a message asking about a problem with
I sent a message asking about a problem with setLocale. Since I haven't
received any anwser, I think one of three thing has happened:
- You didn't receive it.
- It was too stupid a question to bother anwsering (hope not!).
- Nobody has a cleu of what is happening to me.
Wichever i
Hi. I have been trying to get to work the i18n in an application I'm
working on and can't make it work. I found something wrong in the
setLocale. In the login Action I'm using the following code:
---
LoginAdminForm f = (LoginAdminForm) form;
if (f.getLa
8 matches
Mail list logo