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 2003/04/10 21:28:07 UTC
DO NOT REPLY [Bug 18916] New: -
Nested Tiles Inserts Fail
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18916
Nested Tiles Inserts Fail
Summary: Nested Tiles Inserts Fail
Product: Struts
Version: 1.1 RC1
Platform: PC
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: Other
Component: Tiles framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: kwilliams@mindsharetech.net
In Struts 1.1 Beta 1 and Beta 2, nested tiles <tiles:insert> tags worked just
fine. Here's an example (assuming definitions elsewhere):
<tiles:insert definition="template.main">
<tiles:put name="somename" value="somevalue"/>
<tiles:insert definition="template.subtemplate">
<tiles:put name="subname" value="subvalue"/>
</tiles:insert>
</tiles:put>
</tiles:insert>
For some reason, the tiles code in RC1 "unrolls" the contents of the nested
tags at the top of the page. It appears that the tags are flushing their
output to the output stream as soon as they produce it. The content of the
inner most tiles tag appears first at the top of the page, followed by it's
parent's content and so on up the tag tree.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org