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

Split <tiles:insert> into specialized tags

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: tiles-core
    • Labels:
      None
    • Environment:

      N/A (design issue)

      Description

      The <tiles:insert> tag can lead to confusion because it can insert different things: pages, strings, definitions and attribute.
      There is a particular confusion for the attribute, since some people could place it as they place definitions and pages, not remembering that attributes need to be filled.

      <tiles:insert> could be split into:

      <tiles:insertDefinition>
      <tiles:insertTemplate>
      <tiles:insertString> (not sure about it).
      <tiles:attribute>: it has a different name pattern because attributes need to be "defined" and not "inserted".

      Relevant thread:
      http://www.mail-archive.com/dev%40struts.apache.org/msg24891.html

      And the message:
      http://www.mail-archive.com/user%40shale.apache.org/msg00663.html

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: