I think you want to use the page service to generate a Gesture (a Gesture is basically a URL plus various query parameters, sorry for the odd name, it made sense at the time).
Using the Gesture you can create an absolute URL (one that include the scheme, http:, and host). Use the URL with a RedirectException; it should do what you want. A redirect will be sent to the client web browser, which will send a new request for the updated page. I will look into handling this situation cleanly in 2.3. ----- Original Message ----- From: "Simon Robins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 28, 2002 10:40 AM Subject: [Tapestry-developer] Problems with changing locale and redirect > Hi all, > > I have persuaded the company I work for to use Tapestry as the main > framework for web development. > > Unfortunately, the first app I have used it for has the requirement > that all pages are in two languages and that it should be possible to > toggle between these languages. I initially did this by having a link > that changed the locale and then re-rendered the page using this new > locale. After having problems I read the documentation. :-) I then > became clear that this wasn't possible. I then thought that I could > link to a blank page that simply redirected back to the original page > after having changed the locale. I can't seem to get this to work > though. The redirect page always redirects back to it self. How do I > set where a page redirects and is there a better way to solve this > problem. > > Many thanks in advance, > > Regards, > > Simon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
