Hi,

        I'd like to determine locale of a page, using the following code, it 
always
returns 'en' even I have use different URLS like:
        
        http://localhost:8080/en
        http://localhost:8080/zh
        
        any ideas?
        
Angelo  


@Inject
private RequestGlobals requestGlobals;
public String getSample() {
    
System.out.println(requestGlobals.getRequest().getLocale().getLanguage());
        return null;
}
-- 
View this message in context: 
http://www.nabble.com/t5%3A-determine-page%27s-locale--tp24750561p24750561.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to