Re: Antwort: Re: T5: Domain level localization

2007-12-18 Thread Angelo Chen
e in > your module class? > > > > > Angelo Chen <[EMAIL PROTECTED]> > 18.12.2007 11:33 > Bitte antworten an > "Tapestry users" > > > An > users@tapestry.apache.org > Kopie > > Thema > Re: T5: Domain leve

Antwort: Re: T5: Domain level localization

2007-12-18 Thread Kristian Marinkovic
sers" An "Tapestry users" Kopie Thema Antwort: Re: T5: Domain level localization can you show me how you define your DomainThreadLocale service in your module class? Angelo Chen <[EMAIL PROTECTED]> 18.12.2007 11:33 Bitte antworten an "Tapestry users"

Antwort: Re: T5: Domain level localization

2007-12-18 Thread Kristian Marinkovic
can you show me how you define your DomainThreadLocale service in your module class? Angelo Chen <[EMAIL PROTECTED]> 18.12.2007 11:33 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: T5: Domain level localization Hi Kristian, This

Re: T5: Domain level localization

2007-12-18 Thread Angelo Chen
Hi Kristian, This is a old post, i finally tried it out, it works, but how to check domain name? calling 'request' s method cause exceptions, example: System.out.println(request.getContextPath()); ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Error invo

Re: T5: Domain level localization

2007-10-04 Thread Angelo Chen
> 04.10.2007 15:20 > Bitte antworten an > "Tapestry users" > > > An > users@tapestry.apache.org > Kopie > > Thema > Re: T5: Domain level localization > > > > > > > > Hi Kristian, > > Thanks for the reply, it

Re: T5: Domain level localization

2007-10-04 Thread Kristian Marinkovic
DomainThreadLocale (Request request) { > // check domain and set locale > } > } > > > > > > "Jérôme BERNARD" <[EMAIL PROTECTED]> > 04.10.2007 10:30 > Bitte antworten an > "Tapestry users" > > > An &

Re: T5: Domain level localization

2007-10-04 Thread Angelo Chen
Hi Jerome, Thanks, filter looks easier, you meant we will set the locales in the filter based on the domain then 'chain' to the T5 filter/servlet? but I seem not able to find a setLocale in the request? any hint? A.C. Jérôme BERNARD wrote: > > Maybe a servlet filter? > > > Jérôme. > > On 1

Re: T5: Domain level localization

2007-10-04 Thread Angelo Chen
) { > // check domain and set locale > } > } > > > > > > "Jérôme BERNARD" <[EMAIL PROTECTED]> > 04.10.2007 10:30 > Bitte antworten an > "Tapestry users" > > > An > "Tapestry users" > Kopie >

Re: T5: Domain level localization

2007-10-04 Thread Kristian Marinkovic
Jérôme BERNARD" <[EMAIL PROTECTED]> 04.10.2007 10:30 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: T5: Domain level localization Maybe a servlet filter? Jérôme. On 10/4/07, Angelo Chen <[EMAIL PROTECTED]> wrote: >

Re: T5: Domain level localization

2007-10-04 Thread Jérôme BERNARD
Maybe a servlet filter? Jérôme. On 10/4/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm not so sure if this Tapestry related, my T5 app can switch locales > between English and Chinese using > persistentLocaleService.set(Locale.SIMPLIFIED_CHINESE); > > Now I like the localization also

T5: Domain level localization

2007-10-03 Thread Angelo Chen
Hi, I'm not so sure if this Tapestry related, my T5 app can switch locales between English and Chinese using persistentLocaleService.set(Locale.SIMPLIFIED_CHINESE); Now I like the localization also in the domain level, let's say, I have two domains, namely mydomain.com and mydomain.com.cn, if us