cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JD Daniels" ...@datatrio.com>
Subject Woody Populate Form with xsp (flow)
Date Fri, 07 Nov 2003 22:30:23 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message