Thanks for the quick reply, I understand that CreatePageLink creates only the
links within the same domain, not external domains, how to create a link
object pointing to an external site?


Peter Stavrinides wrote:
> 
> Thats because you are returning a string not a URL/Link Object
> 
> regards,
> Peter
> 
> ----- Original Message -----
> From: "Angelo Chen" <angelochen...@yahoo.com.hk>
> To: users@tapestry.apache.org
> Sent: Monday, 6 April, 2009 13:51:39 GMT +02:00 Athens, Beirut, Bucharest,
> Istanbul
> Subject: T5: how to redirect to an external site?
> 
> 
> Hi,
> 
> How to redirect to an external site? here is code, but not working:
> 
> Object onSuccessFromMyForm() {
>       return "http://www.google.com/search?q=abcd&sitesearch=abc.com";;
> }
> any idea how? thanks
> 
> Angelo
> -- 
> View this message in context:
> http://www.nabble.com/T5%3A-how-to-redirect-to-an-external-site--tp22906399p22906399.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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-how-to-redirect-to-an-external-site--tp22906399p22906672.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

Reply via email to