ovidiu 02/03/23 23:41:29
Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
system.js
Log:
Pass the newly created continuation in cocoon.processPipeline.
Revision Changes Path
1.3 +2 -2
xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript/system.js
Index: system.js
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript/system.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- system.js 21 Mar 2002 23:26:03 -0000 1.2
+++ system.js 24 Mar 2002 07:41:29 -0000 1.3
@@ -15,7 +15,7 @@
var kont;
callCC(function(k) {
kont = new WebContinuation(cocoon, k, lastContinuation);
- cocoon.processPipeline(pipelineName, pipelineArgs, bizData);
+ cocoon.processPipeline(pipelineName, pipelineArgs, bizData, kont);
// print ("created continuation with id " + kont.id);
suicide();
lastContinuation = k;
@@ -27,7 +27,7 @@
function handleContinuation(kontId)
{
var kont = cocoon.lookupContinuation(kontId);
- cocoon.diplayAllContinuations();
+// cocoon.diplayAllContinuations();
if (kont != null)
kont.continuation();
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]