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

Support for nested definitions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • tiles-core
    • None
    • Platform independent

    Description

      There should be support for nested definitions, i.e. definitions in which one or more attributes are assigned directly a definition, instead of a reference of a "named" one. For instance:

      <definition name="tileB" extends="tileA">
      <put name="header">
      <definition path="/header.jsp">
      <put name="menu" value="/menu.jsp" />
      </definition>
      </put>
      <put name="body" value="/body.jsp" />
      </definition>

      The nested definition has not a name, because it does not need it and it will be used only in the outer definition.

      Attachments

        1. tiles-patch-2006-09-14.zip
          4 kB
          Antonio Petrelli
        2. tiles-patch.diff
          5 kB
          Antonio Petrelli

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: