Tiles
  1. Tiles
  2. TILES-339

JSP tags do not reset attributes when reused

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.6, 2.1.0
    • Fix Version/s: 2.0.7, 2.1.1
    • Labels:
      None
    • Flags:
      Important

      Description

      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"!

      1. tiles-2.1-reset.patch
        23 kB
        Zach Bailey
      2. TilesBodyTag.java
        2 kB
        Zach Bailey
      3. tiles-jsp-tags-reset.patch
        17 kB
        Zach Bailey
      4. TilesTag.java
        2 kB
        Zach Bailey

        Issue Links

          Activity

          Jeff Turner made changes -
          Project Import Mon Feb 01 01:30:28 UTC 2010 [ 1264987828110 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status [ 49593 ] Simplified [ 53353 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status (temporary) [ 45884 ] Struts - editable closed status [ 49593 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status [ 45512 ] Struts - editable closed status (temporary) [ 45884 ]
          Antonio Petrelli made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Antonio Petrelli made changes -
          Fix Version/s 2.1.1 [ 21895 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.0.7 [ 21890 ]
          Antonio Petrelli made changes -
          Assignee Antonio Petrelli [ brenmcguire ]
          Zach Bailey made changes -
          Attachment TilesBodyTag.java [ 13939 ]
          Zach Bailey made changes -
          Attachment TilesTag.java [ 13938 ]
          Zach Bailey made changes -
          Attachment tiles-jsp-tags-reset.patch [ 13937 ]
          Zach Bailey made changes -
          Attachment tiles-2.1-reset.patch [ 13936 ]
          Antonio Petrelli made changes -
          Field Original Value New Value
          Link This issue contains TILES-338 [ TILES-338 ]
          Antonio Petrelli created issue -

            People

            • Assignee:
              Antonio Petrelli
              Reporter:
              Antonio Petrelli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development