You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/11/08 04:00:18 UTC
DO NOT REPLY [Bug 37388] New: -
Anonymously nest tile definitions
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: dev@struts.apache.org
ReportedBy: paul4christ79@yahoo.com
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org