Julien Martin wrote
> 
> Hello,
> What is the best way to retrieve and display the currently used locale's
> language on a page with tapestry?
> Thanks in advance,
> Julien.
> 

In your page class:
@Property(write=false)
@Inject Locale locale;

In your tml:
Current language is: ${locale.language}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Retrieving-and-displaying-the-current-locale-tp5686219p5686573.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