I have a small non-Woody form, containing a control like this:
<input type="hidden" name="submitAction" value="whatever" />
In my 2.1.3 flowscript, after sendPageAndWait() I interrogate cocoon.request.submitAction.
In 2.1.4, cocoon.request.submitAction evaluates to 'undefined'. No luck with cocoon.request['submitAction'], either. If I change it to cocoon.request.get ("submitAction"), that evaluates to null. Same if I use getParameter().
aaaaack! What am I doing wrong!?
Nothing, apparently. "cocoon.request.submitAction" should work. Make sure that the parameter is actually sent by the browser. Either use a GET action for your form and examine the URI or use something like Mozilla LiveHTTPHeaders to have a look at the real contents of your request.
Ugo
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
