luehe       2002/09/09 10:30:00

  Modified:    jasper2/src/share/org/apache/jasper/compiler Tag:
                        tomcat_4_branch Generator.java
  Log:
  Added synchronization of NESTED and AT_BEGIN variables after call to
  doStartTag() of tag handlers implementing IterationTag, but not
  BodyTag
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.35.2.7  +7 -3      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.35.2.6
  retrieving revision 1.35.2.7
  diff -u -r1.35.2.6 -r1.35.2.7
  --- Generator.java    5 Sep 2002 09:39:16 -0000       1.35.2.6
  +++ Generator.java    9 Sep 2002 17:30:00 -0000       1.35.2.7
  @@ -1381,6 +1381,10 @@
                        
                        out.popIndent();
                        out.printil("}");
  +                 } else {
  +                     // Synchronize AT_BEGIN and NESTED scripting variables
  +                     syncScriptingVars(n, VariableInfo.AT_BEGIN);
  +                     syncScriptingVars(n, VariableInfo.NESTED);
                    }
   
                    out.printil("do {");
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to