Re: Setting locale in stateless app

2006-10-10 Thread Malin Ljungh
I'm intressted in doing about the same. Can you explain in more detail how you solved it? Malin On 10/3/06, Hardi Rokk <[EMAIL PROTECTED]> wrote: Answering my own question: I resolved this problem by overriding tapestry.request.RequestLocaleManager service point in my hivemind conf and just a

Re: Setting locale in stateless app

2006-10-03 Thread Hardi Rokk
Answering my own question: I resolved this problem by overriding tapestry.request.RequestLocaleManager service point in my hivemind conf and just added into extractLocaleForCurrentRequest() code to read language parameter from request and using this as user locale. Not sure if it is the best

Setting locale in stateless app

2006-10-03 Thread Hardi Rokk
Hi everyone, I am trying to make stateless tapestry application where i give user preferred language as GET parameter (like: language=en). But i can't find the right place to set the tapestry locale - on the pages java file it is already too late since the page is loaded from pool in some spe