jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/resultset BaseGetterTag.java
Date Thu, 09 Aug 2001 15:38:30 GMT
morgand     01/08/09 08:38:30

  Modified:    dbtags/src/org/apache/taglibs/dbtags/resultset
                        BaseGetterTag.java
  Log:
  we have to call release() manually now
  
  Revision  Changes    Path
  1.7       +13 -0     jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/resultset/BaseGetterTag.java
  
  Index: BaseGetterTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/resultset/BaseGetterTag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BaseGetterTag.java	2001/08/09 15:30:24	1.6
  +++ BaseGetterTag.java	2001/08/09 15:38:30	1.7
  @@ -273,6 +273,19 @@
       return new Locale (strLanguage, strLocale.substring (pos1 + 1, pos2), strLocale.substring
(pos2 + 1));
     }
   
  +
  +  /**
  +   * If I understand the new JSP spec correctly, release()
  +   * is NOT called between invocations of a cached taglib,
  +   * so I guess we do it manually or write a new method.
  +   * 
  +   * @return EVAL_PAGE constant
  +   */
  +  public int doEndTag() {
  +    release();
  +    return EVAL_PAGE;
  +  }
  +
     public void release() {
       _position = -1;
       _attributeName = null;
  
  
  

Mime
View raw message