Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-339

JSP tags do not reset attributes when reused

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.6, 2.1.0
    • 2.0.7, 2.1.1
    • None
    • 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"!

      Attachments

        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

            People

              brenmcguire Antonio Petrelli
              brenmcguire Antonio Petrelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: