Re: T5: Changing locale within OnActivate event

2007-08-17 Thread Jesse Kuhnert
age, but I'll give it a try and see > how it works. Thanks for the response. > > Doug > > > -Original Message- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 14, 2007 7:22 PM > > To: Tapestry users > > Subject: Re: T

RE: T5: Changing locale within OnActivate event

2007-08-17 Thread Doug Hauge
> From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 14, 2007 7:22 PM > To: Tapestry users > Subject: Re: T5: Changing locale within OnActivate event > > If it's anything like T4 you'll have to either do a redirect back to > the same page or whatever me

Re: T5: Changing locale within OnActivate event

2007-08-14 Thread Jesse Kuhnert
If it's anything like T4 you'll have to either do a redirect back to the same page or whatever mechanism is in place to "make a page active" somehow and have it do that to the same page. All the i18n stuff probably happens in the very beginning while setting up the page/components/resources so it

T5: Changing locale within OnActivate event

2007-08-14 Thread Doug Hauge
In several of our pages, the default locale we want to use for messages depends on its activation context. We tried updating the locale using 'ThreadLocale' from within the activate event handler, but it seems that this is too late, for the page has already been loaded and all messages in the templ