Thank you! It works. But URL need been located in try-catch block.
public Object onSubmitFromTestForm()
{
String linkString;
linkString = "http://somethingelse.com";
URL link = null;
try {
link = new URL(linkString);
} catch (IOException e) {
} finally {
}
return link;
}
Thiago H. de Paula Figueiredo wrote:
>
> Em Fri, 20 Jun 2008 09:45:44 -0300, IT.Adviser <[EMAIL PROTECTED]>
> escreveu:
>
> Return an URL object:
>
> public Object onSubmitFromTestForm() {
> return new URL("http://somethingelse.com");
> }
>
>
--
View this message in context:
http://www.nabble.com/How-to-change-url-of-active-page-to-external-link-from-Tapestry-5-tp18028798p18029071.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]