cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript system.js
Date Tue, 02 Apr 2002 05:38:11 GMT
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 <ovidiu@apache.org>
  +// 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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message