[ 
http://www.stripesframework.org/jira/browse/STS-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter updated STS-763:
---------------------------

    Fix Version/s: Release 1.5.4
         Assignee: Ben Gunter

> 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
>            Assignee: Ben Gunter
>            Priority: Blocker
>             Fix For: Release 1.5.4
>
>
> 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

        

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-development mailing list
Stripes-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to