I'm afraid Nick is right, the layout don't render correctly. Just checked my pages with a multi column layouts and they don't render correctly in beta release 1257. The nested body that is in all super templates does render, but the components in this body with other names do not render. Don’t know how I could have missed that one, I guess I was too focused on the nesting to work correctly that I overlooked my multicolumn layouts. I also checked it against beta release 1252 and it had the same bug.
To comment on the ‘decorator’ discussion: In simple examples there is no confusion about the role of the layout-component tag. The confusion starts when nesting layout-renderer’s inside layout-definitions. Then it’s unclear what their role is and that you need to use a different syntax to achieve the same thing (JSTL). I don’t think it’s what people expect, its unnecessary noise. About streaming, I agree, if you just render a small component it’s not an issue. But I think the Stripes layout is a very good concept to build reusable page layouts with (DRY!). But in order to make that perform well, it would need to be streaming instead of buffering. Again, I appreciate all you’re efforts to make this work. On 12-06-10 22:29, kdeveloper wrote: > Pre-build Stripes 1.5.4 (R1257) can be downloaded here: > > http://kdeveloper.com/stripes-1-5-4-beta/ > > > On 11-06-10 22:40, Nick Stuart wrote: >> Sorry I'm late to this party but just did some quick testing and there is >> one more functional change to be aware of. Following layout: >> >> <layout-definition> >> <layout-component name="body"> >> <layout-component name="content"> >> </layout-component> >> </layout-component> >> </layout-definition> >> >> With 1.5.3 if rendered a page with: >> >> <layout-render name="/layout.jsp"> >> <layout-render name="content"> >> my content here >> </layout-render> >> </layout-render> >> >> It would get rendered as expected. with 1.5.x it does not. The body is blank >> and only the items around<layout-component name='body'> are rendered. I >> just removed the body tag as I was never using it in, but it is a difference >> and may affect someone else. >> >> -Nick >> >> >> >> ------------------------------------------------------------------------------ >> 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 > > > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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