You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2008/09/03 09:05:26 UTC
[jira] Closed: (TILES-214) Anonymously nest tile definitions
[ https://issues.apache.org/struts/browse/TILES-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed TILES-214.
----------------------------------
Closed due to the release of Tiles 2.1.0.
> Anonymously nest tile definitions
> ---------------------------------
>
> Key: TILES-214
> URL: https://issues.apache.org/struts/browse/TILES-214
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-core
> Affects Versions: 2.0.4
> Environment: Operating System: other
> Platform: Other
> Reporter: Paul Benedict
> Priority: Minor
> Fix For: 2.1.0
>
>
> 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>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.