hi,
How to get the locale in a page class? I have this code:
public Object onActivate(EventContext ec) {
System.out.println(request.getLocale().getLanguage());
return null;
}
this url returns 'en':
http://localhost
this url returns 'en' too, despite the page is already in Chinese:
http://localhist/zh
?
Angelo
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t5-getting-locale-in-a-page-class-tp3310211p3310211.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]