struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gideon, Thomas" <Thomas.Gid...@B2eMarkets.com>
Subject RE: how to change locale
Date Tue, 17 Sep 2002 21:58:44 GMT
As a side note to those interested, who may not already know (those already
using JSTL please ignore  d^:); the JSTL formatting taglib already exposes
the ability to dynamically change your locale on the fly.

> -----Original Message-----
> From: David Graham [mailto:dgraham1980@hotmail.com]
> Sent: Tuesday, September 17, 2002 5:53 PM
> To: struts-user@jakarta.apache.org
> Subject: RE: how to change locale
> 
> 
> 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>
> 

--
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