struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio de Córdoba <icord...@skios.es>
Subject Re: How to change locale inside an Action method
Date Sun, 01 Feb 2009 17:02:19 GMT

Thanks for your reply,
I had read the i18n docs you refer but still find no info about changing the
session locale inside an Action.
Anyway, after reading the source of the Interceptor, I understand that
doing:

session.put(i18nInterceptor.DEFAULT_SESSION_ATTRIBUTE,myNewLocale);

in my Action should change the locale in the session. Do you believe that's
right and nothing extra needs to be done?

thanks,
Ignacio
-- 
View this message in context: http://www.nabble.com/How-to-change-locale-inside-an-Action-method-tp21776908p21777515.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message