Re: [T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread superoverdrive
Thanks a lot! Original-Nachricht > Datum: Mon, 27 Oct 2008 13:33:54 +0100 > Von: Christian Gorbach <[EMAIL PROTECTED]> > An: Tapestry users > Betreff: Re: [T5] How to overwrite the Locale (domain specific) > implement a filter like: > > public

Re: [T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread Christian Gorbach
implement a filter like: public class HostBasedLocaleFilter implements RequestFilter { private Map serverNameMapping; private Locale defaultLocale; private ThreadLocale threadLocale; public HostBasedLocaleFilter(final ThreadLocale threadLocale, final Locale defaultLocale,

Re: [T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread Thiago H. de Paula Figueiredo
Em Mon, 27 Oct 2008 08:14:03 -0300, <[EMAIL PROTECTED]> escreveu: I have already asked before, but maybe nobody has read it ;-) I still have not found a solotion how to set the Locale in Tapestry5 depending on the domain name/subdomain. Implement a RequestFilter and put it before any other.

[T5] How to overwrite the Locale (domain specific)

2008-10-27 Thread superoverdrive
I have already asked before, but maybe nobody has read it ;-) I still have not found a solotion how to set the Locale in Tapestry5 depending on the domain name/subdomain. In Tapestry4 using Hivemind, the ThreadLocale could be injected into a service etc... In Tapestry5 + Spring I don't know ho