Hi Sven,
Thanks for your response but I think I cannot use this option.
I need to pass to that url the form parameters.
On my onSubmit, I need to build a list of parameters and pass via a post
method to the url to be processed.
This exception does not allow a list of parameters.
Cheers,
Cosmin.
Hi,
the url allows parameters as any url, e.g
http://server.com?param1=value1param2=value2;.
If you need to post your parameters, you'll have to generate a hidden
form and submit it.
You can render the form with wicket (some WebMarkupContainers will
suffice) or just use some JavaScript for
Ya, I need to submit the form with post method.
This answer helped me.
I will try it.
Thanks a lot,
Cosmin.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-send-a-request-to-an-external-url-from-wicket-tp4671642p4671646.html
Sent from the Users forum mailing
Hello,
My form needs to make the post request to an external URL. Basically is
about sending a request to a payment server.
I know that my form needs to override the action value, but what I actually
want is to validate the form and handle the fields
and afterwards to send the request to the
Hi,
throw a RedirectToUrlException in your #onSubmit().
Have fun|
Sven
|
On 21.07.2015 17:09, cosmindumy wrote:
Hello,
My form needs to make the post request to an external URL. Basically is
about sending a request to a payment server.
I know that my form needs to override the action value,