Nested layouts and components do not render correctly -----------------------------------------------------
Key: STS-791 URL: http://www.stripesframework.org/jira/browse/STS-791 Project: Stripes Issue Type: Bug Components: Tag Library Affects Versions: Release 1.5.4 Reporter: Nicholas Stuart Attachments: nested.jsp.zip Trying to upgrade to stripes 1.5.4, but the layouts are acting weird. I've attached 3 jsp pages to show the issue. Essentially if you have: <layout-render name="layout1"> <layout-comp name="comp1"> <layout-render name="layout2"> <layout-comp name="comp2"> Custom content </layout-comp> </layout-render> </layout-comp> </layout-render> The comp2 body never gets evaluated. What I found from debugging was that when it gets into render phase in LayoutComponentTag for comp2 the getName() is returning comp1! So essientially the comp2 is always getting the "No-op" call when it goes to render and the content is never executed because the call to "isCurrentComponent()" always returns false in the nested layout. in 1.5 this works just fine, but not in 1.5.4. Not really sure how this is happening, am still trying to walk through the code to figure out what's going on and why. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Stripes-development mailing list Stripes-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-development