Re: request interface doesn't provide supported locales (solved thanks)

2009-08-20 Thread Sebastian Hennebrueder
Hello Thiago, thank you this should solve the problem. @Geoff and @Igor thank you as well. I really meant the supported locales of the browser not of the application. If your configure the languages en,de,fr in your browser, then this is sent as request header to the web application. -- Best

Re: request interface doesn't provide supported locales

2009-08-20 Thread Geoff Callender
Instead of "the supported locales of the browser" don't you mean "the supported locales of the web app"? Does this example help? http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/localization/bymessagecatalog Geoff On 20/08/2009, at 8:23 AM, Sebastian Hennebrueder wrote

Re: request interface doesn't provide supported locales

2009-08-19 Thread Igor Drobiazko
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 написал(а): Hello, The Tapestry request interface doesn't provide access to the supp

Re: request interface doesn't provide supported locales

2009-08-19 Thread Thiago H. de Paula Figueiredo
Em Wed, 19 Aug 2009 19:23:51 -0300, Sebastian Hennebrueder escreveu: Hello, Hi! 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. You can get it by @Inject private HttpServletR

request interface doesn't provide supported locales

2009-08-19 Thread Sebastian Hennebrueder
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 t