>>function testRequest(){
>> var testObj = { "test" : "this worked" };
>> cocoon.request.setAttribute("testing", "blah");
>
> //http://cocoon.apache.org/2.1/userdocs/flow/api.html#sendPage-N100FF
> //shouldn't this be something like this?:
> cocoon.sendPage("flowScriptXQuery", testObj);
Grin..
>> cocoon.sendPage("testRequest" : testObj);
>>}
>>
>>***************************************************************************
>>
>>anyway the point is that if I use a simple form <form
>>action="flowScriptXQuery" method="POST"> with a textfield. The parameter
And shouldn't the action be "testFlowRequest"?
>>gets picked up by the xquery and I will see what I type into the field.
>>If on the other hand I try to use flowscript nothing happens (i've tried
>>quite a number of variations).
:-)
Cheers,
Geert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
|