cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <Geert.Jos...@daidalos.nl>
Subject Re: Simple newbie question -> is there a reason I can 't POST information from a flowscript to and eXist XQuery
Date Thu, 30 Jun 2005 11:00:53 GMT
>>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


Mime
View raw message