Ben,

I've made as simple as possible JSP files that can reproduce the layout 
rendering problem in Stripes 1.5.4 beta (R1250). The three layers of 
layout's seems crucial in reproducing the failure.



testPage.jsp:

<%...@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld"; %>
[testPage-begin]
<s:layout-render name="/testPageLayout.jsp" >
<s:layout-component name="body">
[testPage-body]
</s:layout-component>
</s:layout-render>
[testPage-end]



testPageLayout.jsp:

<%...@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld"; %>
<s:layout-definition>
[testPageLayout-begin]
<s:layout-render name="/testPageIntermediateLayout.jsp">
<s:layout-component name="body">
[testPageLayout-preBody]
${body}
[testPageLayout-postBody]
</s:layout-component>
</s:layout-render>
[testPageLayout-end]
</s:layout-definition>


testPageIntermediateLayout.jsp:

<%...@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld"; %>
<s:layout-definition>
[Intermediate-begin]
<s:layout-render name="/testPageSuperLayout.jsp">
<s:layout-component name="body">
[IntermediateLayout-preBody]
${body}
[IntermediateLayout-postBody]
</s:layout-component>
</s:layout-render>
[Intermediate-end]
</s:layout-definition>


testPageSuperLayout.jsp

<%...@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld"; %>
<s:layout-definition>
[SuperLayout-begin]
${body}
[SuperLayout-end]
</s:layout-definition>


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to