You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Binkley, Peter" <Pe...@ualberta.ca> on 2004/06/03 02:43:52 UTC

continuation passes document to pipeline

In the forms block, I'd like to adapt the form2 example so that the edited
document gets passed into a pipeline for processing. In Woody in 2.1.4, I
was able to use cocoon.sendPage for this:

cocoon.sendPage("success-pipeline", {document: document});

The success pipeline started with a jx generator which included #{document},
giving me access to the edited document. When I try this in cforms in 2.1.5,
though, I get a null pointer exception as soon as I try to run an xsl
transformation in the success pipeline. This seems to be related to a Xalan
bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22217 - or at least I
get a  stack trace similar to the one in this bug.

Is there a better way to pass the edited document into a different pipeline
for processing?

Peter


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