ovidiu      02/03/24 23:36:49

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/javascript
                        JSWebContinuation.java
  Log:
  Save a pointer to the JSCocoon object. This is used later when the
  continuation is resumed.
  
  Revision  Changes    Path
  1.3       +8 -0      
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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JSWebContinuation.java    24 Mar 2002 07:40:17 -0000      1.2
  +++ JSWebContinuation.java    25 Mar 2002 07:36:49 -0000      1.3
  @@ -11,6 +11,7 @@
   
   public class JSWebContinuation extends ScriptableObject
   {
  +  protected JSCocoon cocoon;
     protected WebContinuation wk;
     protected ContinuationsManager continuationsMgr;
   
  @@ -21,6 +22,11 @@
       return "WebContinuation";
     }
   
  +  public JSCocoon getJSCocoon()
  +  {
  +    return cocoon;
  +  }
  +
     public WebContinuation getWebContinuation()
     {
       return wk;
  @@ -45,6 +51,8 @@
       WebContinuation wk
         = contMgr.createWebContinuation(kont, (WebContinuation)pwk);
       wk.setUserObject(jswk);
  +
  +    jswk.cocoon = cocoon;
       jswk.wk = wk;
       jswk.continuationsMgr = contMgr;
   
  
  
  

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