You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by cosmindumy <co...@yahoo.com> on 2014/11/17 14:14:16 UTC

How can I build a POST request to an external url?

Hello,
Although I saw a similar topic was opened, I think that answered does not
fit my needs.
I have wicket form and the request should be handled by an external url.
Is it possible to build a request using form parameter values and redirect
it it to the external url?
Thanks.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-can-I-build-a-POST-request-to-an-external-url-tp4668430.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How can I build a POST request to an external url?

Posted by cosmindumy <co...@yahoo.com>.
I need the inputs to be wicket components to handle them.
 On the form buitton onSubmit I need to forward form processing to an
external url after some input processing. Therefore the form should be also
a wicket form. I'll consider also that aproach, but I'd rather build the
post after getting values on the server side in a wicket manner. 
Thanks.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-can-I-build-a-POST-request-to-an-external-url-tp4668430p4668434.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How can I build a POST request to an external url?

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

The question is not very clear.

Why don't you just use <form action="http://some/external/url"> ?
There is no need of a Form component in the Java class.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Nov 17, 2014 at 3:14 PM, cosmindumy <co...@yahoo.com> wrote:

> Hello,
> Although I saw a similar topic was opened, I think that answered does not
> fit my needs.
> I have wicket form and the request should be handled by an external url.
> Is it possible to build a request using form parameter values and redirect
> it it to the external url?
> Thanks.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-can-I-build-a-POST-request-to-an-external-url-tp4668430.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>