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

Reply via email to