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 Wed, 10 Apr 2002 00:42:54 GMT
ovidiu      02/04/09 17:42:54

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
                        system.js
  Log:
  Rename forwardTo() to sendPage(). Removed old sendPage() as we no
  longer make use of named resources from the sitemap to generate
  output.
  
  Revision  Changes    Path
  1.8       +3 -11     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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- system.js	9 Apr 2002 05:35:02 -0000	1.7
  +++ system.js	10 Apr 2002 00:42:54 -0000	1.8
  @@ -16,22 +16,14 @@
     return func.apply(this, args);
   }
   
  -function sendPage(pipelineName, pipelineArgs, bizData)
  +function sendPage(uri, bizData, timeToLive)
   {
     var k = new Continuation();
  -  var kont = new WebContinuation(cocoon, k, lastContinuation);
  -  cocoon.processPipeline(pipelineName, pipelineArgs, bizData, kont);
  -  lastContinuation = kont;
  -  suicide();
  -}
  -
  -function forwardTo(uri, bizData)
  -{
  -  var k = new Continuation();
  -  var kont = new WebContinuation(cocoon, k, lastContinuation);
  +  var kont = new WebContinuation(cocoon, k, lastContinuation, timeToLive);
     cocoon.forwardTo(uri, bizData, kont);
     lastContinuation = kont;
     suicide();
  +  return kont;
   }
   
   function handleContinuation(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