Joshua Lim wrote:

Hi,
I need to do a Form Post out of a Wicket WebPage to a External Location.

Basically, I have a WebPage that has a form. I override the onSubmit
to do some database updates etc... upon completion, I would like to do
a Form Post out along with some information...

Could someone point me to how to do this?

So, if I understand you correctly, you need to handle the form submit in Wicket first, and right after that, pass the submit through to an external site?

If it can be a GET and you want your form to be embedded in your Wicket page, you could use the Include component (1.1. only at this time, but could be included in 1.0 if people want). You have to construct your parameters yourself though. If you want to do a POST, the pattern is probably similar, but I haven't tried that yet. If you /dont/ want the external form to be embedded in your Wicket page, you should probably do a full redirect (check out RedirectPage for this).

Eelco

thanks
Josh


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to