You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/05/15 23:15:41 UTC

DO NOT REPLY [Bug 19911] - messages footer attribute written even when no messages when using tiles

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19911>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19911

messages footer attribute written even when no messages when using tiles





------- Additional Comments From mohankishore@yahoo.com  2003-05-15 21:15 -------
imho - could be a tag-handler reuse issue. The member variable 'processed' is 
set to true in the startTag() and its value checked in endTag() method. 

It is reverted to false in the release() method. With the same explicit 
attributes being used in a different page, the container might reuse the tag-
handler. I believe the release method does not need to be called between the 2 
usages. Would recommend reverting to false in the endTag() method.

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