If you just want to redirect the client to another URL, return an ILink from 
your form listener:

public ILink formSubmitListener()
{
  // Do work
  // ...

  return new StaticLink("http://www.example.com/";);
}


Martin

On Wed, 03 Feb 2010 10:39:23 +0100, Ivano Luberti <lube...@archicoop.it> wrote:

Hello, I'm trying to solve the following problem using T4.1.6.
I want to have the user submit a form , perform some operation in the
page class and then forward the user to an external web site.
Of course I can return to the new user a new page with a form that has
an action that points to the web site, but it would be far better to
have my page class.
I have tried using a service and HttpClient package but it return and
HttpResponse and I'm not able to convert it to a WebResponse.

Any suggestion?

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

Reply via email to