Hi List,

I have a page containing a WOForm with some dynamically created WOPopUpButtons. The WOForm is set to submit a Direct Action request (using get as opposed to post).

The request received by the DA method contains information from a couple of hidden fields in the form which allows me to construct and configure the right page which is actually just a new instance of the same page.

Is there a really simple way to get the WOPopUpButton values from the request DA URL into the WOForm as if the WOForm had been submitted with those values as a component action?

I tried calling takeValuesFromRequest(request(), context()) from my DA method but that produced a NPE. Perhaps this method can't work from a DA request/context?

So is there a way to feed the DA request WOPopUpButton values into the WOForm of my page?

Obviously I can parse the DA request, dig out the WOPopUpButton selections and pass them to the page myself and set the popup selections, but it strikes me that there ought to be an easy way.

Thanks, John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to