I agree as well. The example you have given is very clear. It may also help if you gave an example of how you would read in parameters from a query string (request) as well.....
Peter On 25 Apr 2004, at 14:53, Johannes Textor wrote:
OK, thats clear enough to be understood by flow-newbies. Thank you :-)
The docs are correct, but a little misleading. I have therefore changed the page to say:
<map:flow language="javascript"> <map:script src="myApplication.js"/> </map:flow> <map:pipelines> <map:pipeline> <map:match pattern="index.html"> <map:call function="showIndexPage"> <map:parameter name="paramName" value="Value"/> </map:call> </map:match> </map:pipeline> </map:pipelines>
and:
function showIndexPage() {
var param = cocoon.parameters.paramName;
sendPage("private/index.html", {param: param});
}
This'll go onto the site next time someone updates it. Speak up if anything above is incorrect.
Regards, Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
