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

Antonio Petrelli moved STR-2629 to TILES-214:
---------------------------------------------

          Component/s:     (was: Tiles 1 Plugin)
                       tiles-core
    Affects Version/s:     (was: 1.3.0)
                       2.0.4
             Workflow: Struts - editable closed status  (was: jira)
                  Key: TILES-214  (was: STR-2629)
              Project: Tiles  (was: Struts 1)

> 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
>            Assignee: Struts Developers
>            Priority: Minor
>
> 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