martinc 2002/09/18 11:24:18
Modified: src/share/org/apache/struts/taglib/tiles
GetAttributeTag.java
Log:
Don't call release() at the end of doEndTag(), so that attribute values
are retained for tag handler reuse. This fixes a bug which caused a
second identical invocation of the tag to fail when the container chose
not to set the attribute the second time (which is valid).
Revision Changes Path
1.4 +3 -4
jakarta-struts/src/share/org/apache/struts/taglib/tiles/GetAttributeTag.java
Index: GetAttributeTag.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/tiles/GetAttributeTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- GetAttributeTag.java 26 Jul 2002 16:18:28 -0000 1.3
+++ GetAttributeTag.java 18 Sep 2002 18:24:17 -0000 1.4
@@ -204,7 +204,6 @@
throw new JspException ( "Error - tag.getProperty : IOException ");
}
- release();
return EVAL_PAGE;
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>