Hi Mike, The only pattern I had to change during the transition to streaming layout was stripes:layout-render inside fmt:bundle. It was kind of making sense to me, so I corrected them and everything works fine after that.
And my JSPs have the most patterns you mentioned except: 'invoke layout-render inside of layout-components'. So it might be a good place to start. Hope this helps, Iwao 2012/2/1 Mike McNally <emmecin...@gmail.com>: > I should also add that according to a colleague things are a good deal > better in the not-yet-released post-1.5.6 code. I'll see if I can > determine exactly what it is that's not working. > > On Tue, Jan 31, 2012 at 8:33 AM, Ben Gunter <bgun...@cpons.com> wrote: >> I pleaded during the whole process of changing that code for people to test >> it, and I didn't get much of a response. It has been well over a year since >> it was finally released. Have either of you reported your problems via Jira? >> (I just did a quick check and couldn't find any.) >> >> I have debated reverting the code. The problem is that when the new layout >> code works, it fixes several other significant problems with the old layout >> code that simply couldn't be fixed otherwise because of the way that code >> worked. I'm considering reverting to the original and providing the >> streaming version with a different URL. >> >> >> On Tue, Jan 31, 2012 at 8:47 AM, Janne Jalkanen <janne.jalka...@ecyrd.com> >> wrote: >>> >>> >>> Ditto. We can't upgrade out of 1.5.3 :-/ >>> >>> (Can we please get the old layout code back as an option, please?) >>> >>> /Janne >>> >>> On 31 Jan 2012, at 15:38, Mike McNally wrote: >>> >>> > Since 1.5.4, using nested layouts has been somewhat problematic. My >>> > site works in 1.5.3 but fails all over the place in any of the newer >>> > releases. >>> > >>> > On Tue, Jan 31, 2012 at 5:39 AM, Freddy Daoud <xf2...@fastmail.fm> >>> > wrote: >>> >> Hi Moritz, >>> >> >>> >> Your code looks right to me. What error are you getting? >>> >> >>> >> Another way is to use a JSP .tag file: >>> >> >>> >> /tags/address.jsp: >>> >> >>> >> <%@ tag body-content="scriptless" %> >>> >> <%@ attribute name="address" required="true" rtexprvalue="true" >>> >> type="com.example.model.Address" %> >>> >> <%@ include file="/jsp/taglibs.jsp" %> >>> >> >>> >> <div>${address.street}</div> >>> >> <div>${address.city}</div> >>> >> >>> >> /jsp/taglibs.jsp: >>> >> <%-- stripes and JSP taglibs... --% >>> >> <%@ taglib prefix="yourPrefix" tagdir="/tags" %> >>> >> >>> >> contact.jsp: >>> >> >>> >> <h1>Contact Sheet</h1> >>> >> <div>${actionBean.contact.name}</div> >>> >> <yourPrefix:address="${actionBean.contact.address}" /> >>> >> >>> >> Then you can go ahead and add more .tag files to the /tags directory >>> >> and >>> >> use them with >>> >> <yourPrefix:name> where name corresponds to the file name without the >>> >> .jsp extension. >>> >> >>> >> Hope that helps. >>> >> >>> >> Cheers, >>> >> Freddy >>> >> http://www.fdaoud.com >>> >> >>> >> On Tue, Jan 31, 2012, at 10:13 AM, Moritz Petersen wrote: >>> >>> Hello everyone, >>> >>> >>> >>> maybe I'm missing something, but I have trouble doing the following: >>> >>> >>> >>> The idea is to define a piece of reusable JSP code, that can be >>> >>> embedded into other JSP pages. I thought it should be quite simple >>> >>> with Stripes' layout tags. >>> >>> >>> >>> Take an example: in some JSP pages I'd like to display address >>> >>> information, so I just want to implement that address view only once. >>> >>> >>> >>> contact.jsp: >>> >>> >>> >>> ... >>> >>> <h1>Contact Sheet</h1> >>> >>> <div>${actionBean.contact.name}</div> >>> >>> <stripes:layout-render name="/layout/address.jsp" >>> >>> address="${actionBean.contact.address}" /> >>> >>> ... >>> >>> >>> >>> address.jsp: >>> >>> >>> >>> ... >>> >>> <stripes:layout-definition> >>> >>> <div>${address.street}</div> >>> >>> <div>${address.city}</div> >>> >>> ... >>> >>> </stripes:layout-definition> >>> >>> >>> >>> The idea is, to pass the "address" object to the reusable layout >>> >>> component and use it there. >>> >>> >>> >>> Is there any way to do this with Stripes? Any other recommendations? >>> >>> >>> >>> Thank you & regards, >>> >>> Moritz >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Keep Your Developer Skills Current with LearnDevNow! >>> >>> The most comprehensive online learning library for Microsoft >>> >>> developers >>> >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>> >>> MVC3, >>> >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> >>> http://p.sf.net/sfu/learndevnow-d2d >>> >>> _______________________________________________ >>> >>> Stripes-users mailing list >>> >>> Stripes-users@lists.sourceforge.net >>> >>> https://lists.sourceforge.net/lists/listinfo/stripes-users >>> >>> >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >>> >> Keep Your Developer Skills Current with LearnDevNow! >>> >> The most comprehensive online learning library for Microsoft developers >>> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>> >> MVC3, >>> >> Metro Style Apps, more. Free future releases when you subscribe now! >>> >> http://p.sf.net/sfu/learndevnow-d2d >>> >> _______________________________________________ >>> >> Stripes-users mailing list >>> >> Stripes-users@lists.sourceforge.net >>> >> https://lists.sourceforge.net/lists/listinfo/stripes-users >>> > >>> > >>> > >>> > -- >>> > Turtle, turtle, on the ground, >>> > Pink and shiny, turn around. >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Keep Your Developer Skills Current with LearnDevNow! >>> > The most comprehensive online learning library for Microsoft developers >>> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> > Metro Style Apps, more. Free future releases when you subscribe now! >>> > http://p.sf.net/sfu/learndevnow-d2d >>> > _______________________________________________ >>> > Stripes-users mailing list >>> > Stripes-users@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/stripes-users >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> Stripes-users mailing list >>> Stripes-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/stripes-users >> >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Stripes-users mailing list >> Stripes-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> > > > > -- > Turtle, turtle, on the ground, > Pink and shiny, turn around. > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users