You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jordan Redner <jr...@shopping.com> on 2004/10/26 21:21:46 UTC
Locale Change without a Client Side Redirect
There was a suggestion posted as a way to change the Page locale without
an interstitial page or a client side refresh.
getEngine().setLocale(.......);
getPage().getRequestCycle().cleanup();
throw new PageRedirectException(getPage().getPageName());
When I implement this I get:
org.apache.tapestry.PageRedirectException: Home
at
com.shopping.cps.web.page.enrollment.EnrollmentBasePage.changeLocale(Enr
ollmentBasePage.java:75)
at
com.shopping.cps.web.page.enrollment.EnrollmentHome.handleSpecialSiteLoc
aleURL(EnrollmentHome.java:82)
at
com.shopping.cps.web.page.enrollment.EnrollmentHome.prepareForRender(Enr
ollmentHome.java:52)
Is there something that anyone can see that I am doing wrong?
Thanks very much in advance.
Jordan
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org