Components Nested Inside Other Components Do NOT Render -------------------------------------------------------
Key: STS-763 URL: http://www.stripesframework.org/jira/browse/STS-763 Project: Stripes Issue Type: Bug Components: Tag Library Affects Versions: Release 1.5.4 Environment: Mac OSX 10.5.8; JDK 1.6.0_20; MyEclipseIDE 8.6 Reporter: Nikolaos Priority: Blocker The true power in any Layout engine is in being able to create a hierarchy of layout definitions and renderers however this bug impedes complex layouts and allows only rudimentary / trivial / tutorial like layouts. Understandably 1.5.4 is not even beta yet so its hard to complain however 1.5.4 has sufficient features that make it very worthwhile over 1.5.3 however this bug makes using its layout component an unfortunate show stopper. Using the code snippets below the output is as follows on 1.5.4 (latest): Before contents Before test After test After contents However on at least 1.5.2 and latest trunk (as per Freddy's feedback) it correctly provides: Before contents Before test Hello World!!!!!!!!!!!!!! After test After contents Were the code is as follows: html_template2.jsp ============== <%@ include file="/WEB-INF/jsp/x4/taglibs.jsp" %> <s:layout-definition> Before contents ${contents} After contents </s:layout-definition> 3c2.jsp ===== <%@ include file="/WEB-INF/jsp/x4/taglibs.jsp" %> <s:layout-definition> <s:layout-render name="/WEB-INF/jsp/x4/base/html_template2.jsp"> <s:layout-component name="contents"> Before test ${test} After test </s:layout-component> </s:layout-render> </s:layout-definition> test.jsp ===== <%@ include file="/WEB-INF/jsp/x4/taglibs.jsp" %> <s:layout-render name="/WEB-INF/jsp/x4/base/3c2.jsp"> <s:layout-component name="test"> Hello World!!!!!!!!!!!!!! </s:layout-component> </s:layout-render> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://www.stripesframework.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Stripes-development mailing list Stripes-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-development