jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felip...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core OutSupport.java
Date Wed, 21 Jan 2004 19:19:47 GMT
felipeal    2004/01/21 11:19:46

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/core
                        Tag: STANDARD_1_0_BRANCH OutSupport.java
  Log:
  fix for bug 26320: reset bodyContent on doStartTag(), otherwise c:out misbehaves when tag
handlers are pooled - thanks Jailton Lopes for reporting that issue
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.6.2.1   +1 -0      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core/OutSupport.java
  
  Index: OutSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/core/OutSupport.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- OutSupport.java	14 Jan 2003 20:35:02 -0000	1.6
  +++ OutSupport.java	21 Jan 2004 19:19:46 -0000	1.6.2.1
  @@ -120,6 +120,7 @@
       public int doStartTag() throws JspException {
   
         needBody = false;			// reset state related to 'default'
  +      super.bodyContent = null;  // clean-up body (just in case container is pooling tag
handlers)
   
         try {
   	// print value if available; otherwise, try 'default'
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message