Hi Lance,

Thank you very much!

于 2012/10/17 23:48, Lance Java 写道:
Creating a URL is probably the easiest thing to do. Note that you can @Inject
BaseURLSource to get the URL prefix.

Another option is to create a new response type (eg InternalRedirect). You
would then contribute a ComponentEventResultProcessor to handle the new
return type (by doing the actual redirect). Then, you could return instances
of InternalRedirect instead of URL (eg in onActivate).



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Redirect-to-an-internal-url-tp5717009p5717013.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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to