dgeary      01/02/23 09:15:01

  Modified:    src/share/org/apache/struts/taglib/template InsertTag.java
  Log:
  Moved creation of ContentMap to InsertTag.doStartTag()
  
  Revision  Changes    Path
  1.5       +6 -5      
jakarta-struts/src/share/org/apache/struts/taglib/template/InsertTag.java
  
  Index: InsertTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/template/InsertTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InsertTag.java    2001/01/22 19:45:58     1.4
  +++ InsertTag.java    2001/02/23 17:15:00     1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/template/InsertTag.java,v 
1.4 2001/01/22 19:45:58 dgeary Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/01/22 19:45:58 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/template/InsertTag.java,v 
1.5 2001/02/23 17:15:00 dgeary Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/02/23 17:15:00 $
    *
    * ====================================================================
    *
  @@ -74,7 +74,7 @@
    * tags, which are accessed by <template:get> in the template.
    *
    * @author David Geary
  - * @version $Revision: 1.4 $ $Date: 2001/01/22 19:45:58 $
  + * @version $Revision: 1.5 $ $Date: 2001/02/23 17:15:00 $
    */
   public class InsertTag extends TagSupport {
   
  @@ -85,7 +85,7 @@
      /**
        * Each insert tag has a map of content. 
        */
  -   private ContentMap map = new ContentMap();
  +   private ContentMap map;
   
   
      /**
  @@ -112,6 +112,7 @@
        */
      public int doStartTag() throws JspException {
   
  +      map = new ContentMap();
         ContentMapStack.push(pageContext, map);
         return EVAL_BODY_INCLUDE;
   
  
  
  

Reply via email to