Deal with URL as a parameter and redirect

2010-09-08 Thread t5.0
What is the best strategy to deal with a URL given as a parameter to a page, and then perform a redirect to it, with Tapestry 5.0.x 1. onActivate @Inject private Response response; public void onActivate(String url) { ...some processing with url... response.sendRedirect(url); } 2.

Re: Deal with URL as a parameter and redirect

2010-09-08 Thread t5.0
Thanks but I'm looking for the "reverse" solution: handle a URL provided to the page. I tried with a onActivate(url) based page but it seems Tapestry prevents the URL to be passed as a parameter, since it interprets the '/' as parameter separator. Is there a way for *one* to prevent this interpr