Hi cocooners !

I'd like to execute a script Shell which needs xmlData as feed parameter.
I thought that a flowscript could call java thread which fork shell script thread.

So i need to pass xmlData from generator to function in flowscript.
How can i do this ?
sitemap :
   <map:match pattern="process-result-pipeline">
              <map:generate src="cocoon:/gml2xml-pipeline"/>
              <map:call function="exec">
                  <map:parameter name="xmlData" value="???"/>
              </map:call>
    </map:match>

flowscript:
function exec() {
  var param = cocoon.parameters.xmlData;
  var results = // Java call, to fork shell script thread (param)
  cocoon.sendPage("show-result-pipeline", {"bizData" : results} );
}

Merci à tous.


--
Sébastien Geindre
DPREVI/AERO/DEV
[EMAIL PROTECTED]
05 61 07 84 93




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to