cedric      2002/10/07 08:43:56

  Modified:    src/share/org/apache/struts/taglib/tiles
                        UseAttributeTag.java
  Log:
  Correct a bug where the property "id" is not set properly when the tag is reused.
  
  Revision  Changes    Path
  1.4       +5 -3      
jakarta-struts/src/share/org/apache/struts/taglib/tiles/UseAttributeTag.java
  
  Index: UseAttributeTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/tiles/UseAttributeTag.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UseAttributeTag.java      26 Jul 2002 16:18:28 -0000      1.3
  +++ UseAttributeTag.java      7 Oct 2002 15:43:55 -0000       1.4
  @@ -213,6 +213,8 @@
        */
     public int doStartTag() throws JspException
       {
  +      // Do a local copy of id
  +    String id=this.id;
       if( id==null )
         id=attributeName;
   
  
  
  

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

Reply via email to