You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2008/12/18 14:07:39 UTC

[jira] Resolved: (TILES-339) JSP tags do not reset attributes when reused

     [ https://issues.apache.org/struts/browse/TILES-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli resolved TILES-339.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1
                   2.0.7

Applied patch posted by Zach Bailey. Merged to TILES_2_0_X branch too.
Thanks a lot Zach, it was very well written!

> JSP  tags do not reset attributes when reused
> ---------------------------------------------
>
>                 Key: TILES-339
>                 URL: https://issues.apache.org/struts/browse/TILES-339
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.6, 2.1.0
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>            Priority: Blocker
>             Fix For: 2.0.7, 2.1.1
>
>         Attachments: tiles-2.1-reset.patch, tiles-jsp-tags-reset.patch, TilesBodyTag.java, TilesTag.java
>
>
> It is simply a misinterpretation of the Tag.release method:
> http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/tagext/Tag.html#release()
> Attribute reset must be done in the "doEndTag"!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.