Hi,
I wan't to switch the "locale" based on user settings.
I'm using struts and JSTL 1.2, switching locale works fine with:
// change struts' locale
session.setAttribute(org.apache.struts.Globals.LOCALE_KEY,
newLocale);
// change JSTL's locale
Config.set(session, Config.FMT_LOCALE, newLocale) ;
But menu titles wan't switch, the appear always in the same language.
What do I have to set / change ?
I google I found a "solution", using MenuDisplayer's locale attribute, but I
want work for me. Maybe am setting the attribute wrong.
How do I have to set this attribute to read the JSTL/Struts locale ?
Thanxs a lot for your help.
Norbert
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user