Re: T5: how to redirect to an external site?

2009-04-06 Thread Kristian Marinkovic
Peter meant, just return a new URL("yourlink") instance and tapestry will do the rest g, kris Angelo Chen 06.04.2009 13:10 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: T5: how to redirect to an external site? Thanks fo

Re: T5: how to redirect to an external site?

2009-04-06 Thread Angelo Chen
> regards, > Peter > > - Original Message - > From: "Angelo Chen" > 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? > > >

Re: T5: how to redirect to an external site?

2009-04-06 Thread Peter Stavrinides
Thats because you are returning a string not a URL/Link Object regards, Peter - Original Message - From: "Angelo Chen" 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 ext

T5: how to redirect to an external site?

2009-04-06 Thread Angelo Chen
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-ext