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 JSWebContinuation.java
Date Tue, 16 Apr 2002 00:20:49 GMT
ovidiu      02/04/15 17:20:49

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
                        JSWebContinuation.java
  Log:
  Remove the need to store the ContinuationsManager, now that the
  ExcaliburComponentManager problem has been solved.
  
  Revision  Changes    Path
  1.6       +3 -5      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript/JSWebContinuation.java
  
  Index: JSWebContinuation.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript/JSWebContinuation.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JSWebContinuation.java	10 Apr 2002 00:40:52 -0000	1.5
  +++ JSWebContinuation.java	16 Apr 2002 00:20:49 -0000	1.6
  @@ -38,14 +38,12 @@
       throws Exception
     {
       JSCocoon cocoon = (JSCocoon)args[0];
  -    // FIXME: why doesn't this work???
  -//     ComponentManager contMgr
  -//       = ((ComponentManager)manager).lookup(ContinuationsManager.ROLE);
       ComponentManager manager = cocoon.getComponentManager();
   
  -    ContinuationsManager contMgr = cocoon.getContinuationsManager();
  -    Object kont = args[1];
  +    ContinuationsManager contMgr
  +      = (ContinuationsManager)manager.lookup(ContinuationsManager.ROLE);
   
  +    Object kont = args[1];
       JSWebContinuation pjswk = (JSWebContinuation)args[2];
       WebContinuation pwk = (pjswk == null ? null : pjswk.wk);
   
  
  
  

----------------------------------------------------------------------
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