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 payment server.

something like
protected void onSubmit(final AjaxRequestTarget target, final Form<?> form)
{
  vvalidate fields
    if (fields are valid) {
buildRequestParameter;
sendPostRequest 
redirect client to the payment server.
}
        }

What is the recomended way to do this?
Thanks.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-send-a-request-to-an-external-url-from-wicket-tp4671642.html
Sent from the Users forum mailing list archive at Nabble.com.

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

Reply via email to