Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
What is the problem? I.e., why do you feel it can not be a simple page? ** Martin 2009/1/14 Mathias P.W Nilsson math...@snyltarna.se: Hi, I have developed an application with wicket that has been around for about a year. A user can have serveral options for payment - Visa, MasterCard, Post

Re: Advice on payment options with wicket

2009-01-14 Thread Mathias P.W Nilsson
The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the form first I need a wicket form and then a plain html form. The form is submitted when all the data is checked. Since there is 10 different forms the webpage get's cluttered. Is

Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
Why don't you send the query parameters from wicket to the payment server using QueryStringUrlCodingStrategy ? ** Martin 2009/1/14 Mathias P.W Nilsson math...@snyltarna.se: The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the

Re: Advice on payment options with wicket

2009-01-14 Thread Scott Swank
Have you considered HttpClient? http://hc.apache.org/httpclient-3.x/ Scott On Wed, Jan 14, 2009 at 8:44 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the form first I

Re: Advice on payment options with wicket

2009-01-14 Thread Steve Swinsburg
Submit the form as normal in Wicket, validate, etc, then craft a request to the external form and send your data that way. cheers, Steve On 14 Jan 2009, at 16:44, Mathias P.W Nilsson wrote: The main problem is the external form. I need to send the form to an external server. Since

Re: Advice on payment options with wicket

2009-01-14 Thread Mathias P.W Nilsson
This is what I'm doing ( via an javascript call from wicket ajax after the form is validated). Problem is that the model must be emptied when the form is submitted ( cart, order ) and then the page get's rerendered. It's all fussy. 10 forms in the same page. Must be a smarter solution. -- View

Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
Honestly, I simply cannot grasp the problem. Our site works like this: 1. User fills form. 2. User submits form to Wicket site. 3. Wicket site analyzes the submitted form and constructs a PageParameters map. 4. Wicket site redirects the user to a payment processing server using the