I was wondering if it was possible to load an xsp pipeline instead of a
source xml file..

ex.
// parse the document to a DOM-tree
var document = loadDocument("forms/test.xml");

// bind the document data to the form
form.load(document);
form.showForm("display-pipeline");

Change to:

// Load DOM-tree From Xsp
var document = "context://formdata.xsp?id=" + cocoon.request.get("id");

// bind the document data to the form
form.load(document);
form.showForm("display-pipeline");


JD


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

Reply via email to