I will try that: for whatever reason I was convinced that I had to
submit a form and not simply a link.
But checking twice the docs of the web site I have to forward to, I see
I can use a link.
Thanks for now


Martin Strand ha scritto:
> 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
>
>

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


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

Reply via email to