[ 
https://issues.apache.org/struts/browse/TILES-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antonio Petrelli resolved TILES-214.
------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 2.1.x)
                   2.1.0

This issue is a duplicate of TILES-85.

> 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.

Reply via email to