Re: T5 URLRewriterRule and ThreadLocale ordering

2010-02-11 Thread Martin Reurings
Thiago H. de Paula Figueiredo wrote: On Thu, 11 Feb 2010 08:44:48 -0200, Martin Reurings wrote: Hi Guys, Hi! Do you ever sleep? I could cheat by detecting if threadlocale has been applied and ifso, inserting my global var after the threadlocale, but this 'feels wrong'. Reading the sou

Re: T5 URLRewriterRule and ThreadLocale ordering

2010-02-11 Thread Thiago H. de Paula Figueiredo
On Thu, 11 Feb 2010 08:44:48 -0200, Martin Reurings wrote: Hi Guys, Hi! I could cheat by detecting if threadlocale has been applied and ifso, inserting my global var after the threadlocale, but this 'feels wrong'. Reading the sources, I've found that ThreadLocale is set when the Comp

T5 URLRewriterRule and ThreadLocale ordering

2010-02-11 Thread Martin Reurings
Hi Guys, I'm trying to achieve several effects in the same application all applied to the url and I'm using two URLRewriterRules to do so (Actually 4, 2 inbound and 2 outbound): 1) Store an application-wide value in the url, much like the ThreadLocale 2) Translate the first level of navigation