cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sparkes <pe...@didm.co.uk>
Subject Re: sitemap parameters with javaflow
Date Tue, 12 Apr 2005 14:43:25 GMT
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: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message