Re: How to flush cached pages for a user when locale is changed

2010-02-09 Thread Juan E. Maya
What r u trying to accomplish?

If u want the pages to see the new locale u can use LocalizationSetter
service. Normally what i do is to add a PageRenderRequestFilter that obtains
the user locale (from database or cookie) and then u just need to call
 localizationSetter.setLocaleFromLocaleName(locale); This will assure that
ur messages will be resolved correctly.  I don't think that messing with the
page pool is ment for typical use cases but well, maybe u r tying to do
something different.

I hope it helps.


On Tue, Feb 9, 2010 at 3:34 PM, N T R PHANI KUMAR wrote:

> hi
> I want to flush the cached pages when i change the locale for the user.
> how can i do that?
>
> thanks
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


How to flush cached pages for a user when locale is changed

2010-02-09 Thread N T R PHANI KUMAR

hi
I want to flush the cached pages when i change the locale for the user.
how can i do that?

thanks

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org