Re: Encoding the locale into the url

2006-09-25 Thread Numa Schmeder
Well I switch the locale using a page redirection: engine.setLocale(theLocale); engine.cleanup(); IEngineService service = cycle.getEngine().getService (Tapestry.PAGE_SERVICE); ILink link = service.getLink(cycle, this, new String[]{"Home"}); throw new RedirectException(link.getURL());

Re: Encoding the locale into the url

2006-09-25 Thread andyhot
How do you currently switch the locale? Numa Schmeder wrote: > Hello all, > > I am checking if there is a way to encode the locale into the tapestry > generated URL, this is to avoid caching problem with browser as > currently the url is the same for whatever locale. > I am using tap3 but maybe th

Encoding the locale into the url

2006-09-25 Thread Numa Schmeder
Hello all, I am checking if there is a way to encode the locale into the tapestry generated URL, this is to avoid caching problem with browser as currently the url is the same for whatever locale. I am using tap3 but maybe this is already available in tap4? In tap3 i know i should change a