Re: How to programmatically send a form (Dev WO)
Re: How to programmatically send a form (Dev WO)
- Subject: Re: How to programmatically send a form (Dev WO)
- From: wojingo <email@hidden>
- Date: Tue, 24 Jan 2006 11:33:04 +1030
Dev WO wrote:
I think I can use a regular WOForm and use James' method to redirect to
the bank url
public WOComponent sendToVerisign() {
WORedirect nextPage;
nextPage = new WORedirect(context());
nextPage.setUrl (yourTargetUrlAsString()); <-- use your banks
method here
return nextPage;
}
but even if this work, I don't know how to handle the bank response
which will also be a "post" form:(
I havent really been following this thread.. So I might have missed
something already mentioned.
1) You post to the bank providing a url for there response(a direct action).
2) Bank posts there response to your direct action url.
3) You use formValueForKey to get the information the bank has responded
with.
HTH.
- shaun
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden