You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Zach Bailey (JIRA)" <ji...@apache.org> on 2008/12/16 23:43:37 UTC

[jira] Updated: (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 ]

Zach Bailey updated TILES-339:
------------------------------

    Attachment: tiles-2.1-reset.patch

Here's my first attempt at a patch which incorporates the changes I outlined above.

It is against the 2.1.0 release tag in subversion.

Let me know if I missed/broke anything, or if this needs to be reworked.

> 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
>            Priority: Blocker
>         Attachments: tiles-2.1-reset.patch
>
>
> 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.