struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject RE: how to change locale
Date Tue, 17 Sep 2002 21:52:47 GMT
That's how I do it as well.  If you want to let the user change the locale 
themselves with a select box you might check out the custom tag I posted to 
bugzilla:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12648

Shameless self promotion, I know, but I do think it's useful.

Dave


>From: "Gideon, Thomas" <Thomas.Gideon@B2eMarkets.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: 'Struts Users Mailing List' <struts-user@jakarta.apache.org>
>Subject: RE: how to change locale
>Date: Tue, 17 Sep 2002 16:38:30 -0400
>
>We use something like
>
>request.getSession().setAttribute(Action.LOCALE_KEY, locale);
>
>within the logon action of our application, and that seems to work.
>
>Thomas Gideon
>Sr. Software Developer
>B2eMarkets
>
>301.230.2236  Tel.
>301.230.2248  Fax.
>thomas.gideon@B2eMarkets.com
>www.B2eMarkets.com
>
>
> > -----Original Message-----
> > From: Dom [mailto:dombat@free.fr]
> > Sent: Tuesday, September 17, 2002 4:43 PM
> > To: struts-user@jakarta.apache.org
> > Subject: how to change locale
> >
> >
> > Hi
> >
> > Using Struts 1.0.2, I need to be able to change the form
> > messages locale
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message