Have you tried something like

cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");

function editNewsEntry(form) { var URI= cocoon.parameters["contentfile"];
}
Peter


hi,

i would like to use sitemap-parameters in my javaflow-script.

i want to do something like

<map:call function="editNewsEntry">
  <map:parameter name="contentfile" value="{realpath:newsid.xml}"/>
</map:call>


Does anybody if this is possible and how to access the paramater in the javaflow file. i only can access the request-parameters, but i think that doesn't help.



in the update documentation of cocoon 2.1.6 i read:

Javaflow block: Add parameter support. (TC)

but i'm not sure what kind of parameters the author meant.


thanks a lot,


michel



---------------------------------------------------------------------
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]



Reply via email to