it's an external url, i found out it can be done this way: new URL("http://sample.com?type='123'")
Taha Hafeez wrote > > What is url ? Is it a tapestry page or event. > > For page you can use PageRenderLinkSource#createPageRenderLinkWithContext > and for event you can use ComponentResources#createEventLink... > > > On Aug 2, 2012, at 9:10 AM, Angelo C. wrote: > >> thanks for the fast answer, it works, in a related question, if I have >> something like this: >> URL u = new URL(url); >> how to add some query parameters? >> >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/redirecting-to-a-class-with-parameter-tp5714980p5714982.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@.apache > For additional commands, e-mail: users-help@.apache > -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-to-a-class-with-parameter-tp5714980p5714985.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org