DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37388>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37388

           Summary: Anonymously nest tile definitions
           Product: Struts
           Version: 1.3.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Tiles framework
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to