You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "David H. DeWolf (JIRA)" <ji...@apache.org> on 2006/11/22 18:25:57 UTC

[jira] Updated: (SB-29) Support for nested definitions

     [ http://issues.apache.org/struts/browse/SB-29?page=all ]

David H. DeWolf updated SB-29:
------------------------------

    Fix Version/s: 2.0.1

Feature request that can be done after 2.0.0 alpha

> Support for nested definitions
> ------------------------------
>
>                 Key: SB-29
>                 URL: http://issues.apache.org/struts/browse/SB-29
>             Project: Sandbox
>          Issue Type: New Feature
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: Platform independent
>            Reporter: Antonio Petrelli
>            Priority: Trivial
>             Fix For: 2.0.1
>
>         Attachments: tiles-patch-2006-09-14.zip, tiles-patch.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira