On Dec 4, 2006, at 9:16 AM, Simone Gianni wrote:
Hi Zongo,
you need a processPipelineTo call. With that you can invoke, from the
flow, a cocoon pipeline and fetch the result as an array of byte, which
can be converted to a string.
Better yet, do
importClass
(Packages.org.apache.cocoon.components.flow.util.PipelineUtil);
.
.
.
var doc = PipelineUtil.processToDOM ('/some/pipeline'); // NB:
omit the 'cocoon:/' :-)
cheers,
—ml—
ZongoZongo wrote:
I have a CForm and want to bind data to the form, that is generated
by a
cocoon Pipeline.
My first idea was to
var xmlDocument = loadDocument(cocoon:/mypipeline)
form.load(xmlDocument)
But of cause it doesnt work, because loadDocument needs a String as
parameter.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]