luehe       2002/09/09 10:14:43

  Modified:    jasper2/src/share/org/apache/jasper/compiler 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
  1.93      +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.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- Generator.java    6 Sep 2002 21:16:23 -0000       1.92
  +++ Generator.java    9 Sep 2002 17:14:43 -0000       1.93
  @@ -2042,6 +2042,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