You can add a property of type Locale to your page class and annotate it with @Inject. The locale of the current request will be injected.

Отправлено с iPhone

20.08.2009, в 00:23, Sebastian Hennebrueder <use...@laliluna.de> написал(а):

Hello,

The Tapestry request interface doesn't provide access to the supported
locales.

My use case for this, that depending on the supported locales of the
browser, I show items in these languages.

My proposal is either to provide a getDelegate method to allow access to the wrapped request or to add the method to the interface and the basic
implementation.

What do you think?


--
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de



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


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

Reply via email to