You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/04/02 07:02:25 UTC

cvs commit: xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow WebContinuation.java

ovidiu      02/04/01 21:02:25

  Modified:    src/scratchpad/schecoon/src/org/apache/cocoon/components/flow
                        WebContinuation.java
  Log:
  (constructor): Add the newly created continuation to its parent.
  
  Revision  Changes    Path
  1.3       +2 -0      xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/WebContinuation.java
  
  Index: WebContinuation.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/WebContinuation.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WebContinuation.java	24 Mar 2002 07:38:32 -0000	1.2
  +++ WebContinuation.java	2 Apr 2002 05:02:25 -0000	1.3
  @@ -74,6 +74,8 @@
       this.continuation = continuation;
       this.parentContinuation = parentContinuation;
       id = manager.generateContinuationId(this);
  +    if (parentContinuation != null)
  +      this.parentContinuation.children.add(this);
     }
   
     /**
  
  
  

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