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

Anonymously nest tile definitions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.4
    • 2.1.0
    • tiles-core
    • None
    • Operating System: other
      Platform: Other

    • 37388

    Description

      When you nest tiles within tiles, it can become difficult to manage the
      independent tile definitions. I do not find the inner tiles to be reusable like
      the outer tiles, and would like to anonymously inline them instead.

      AS IT IS WITH CURRENT TILES:

      <definition name="tile.journals" extends="layout.master">
      <put name="title" value="Resources"/>
      <put name="body" value="tile.journals.body"/>
      </definition>

      <definition name="tile.journals.body" path="/WEB-INF/jsp/tier2.jsp">
      <put name="banner" value="/images/feature.jpg"/>
      <put name="body" value="/WEB-INF/jsp/journals.jsp"/>
      </definition>

      PROPOSED:

      <definition name="tile.journals" extends="layout.master">
      <put name="title" value="Resources"/>
      <put name="body">
      <definition path="/WEB-INF/jsp/tier2.jsp">
      <put name="banner" value="/images/feature.jpg"/>
      <put name="body" value="/WEB-INF/jsp/journals.jsp"/>
      </definition>
      </put>
      </definition>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paul4christ79@yahoo.com Paul Benedict
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: