ovidiu      02/04/01 21:38:11

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
                        system.js
  Log:
  Correctly setup the lastContinuation.
  
  Revision  Changes    Path
  1.6       +11 -5     
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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- system.js 30 Mar 2002 05:31:11 -0000      1.5
  +++ system.js 2 Apr 2002 05:38:11 -0000       1.6
  @@ -1,3 +1,11 @@
  +// system.js
  +//
  +// JavaScript definitions
  +//
  +// Author: Ovidiu Predescu <[EMAIL PROTECTED]>
  +// Date: March 19, 2002
  +//
  +
   var suicide;
   
   var lastContinuation = null;
  @@ -16,11 +24,10 @@
     callCC(function(k) {
       kont = new WebContinuation(cocoon, k, lastContinuation);
       cocoon.processPipeline(pipelineName, pipelineArgs, bizData, kont);
  -//     print ("created continuation with id " + kont.id);
       suicide();
  -    lastContinuation = k;
     });
  -
  +  
  +  lastContinuation = kont;
     return kont;
   }
   
  @@ -30,11 +37,10 @@
     callCC(function(k) {
       kont = new WebContinuation(cocoon, k, lastContinuation);
       cocoon.forwardTo(uri, bizData, kont);
  -//     print ("created continuation with id " + kont.id);
       suicide();
  -    lastContinuation = k;
     });
   
  +  lastContinuation = kont;
     return kont;
   }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to