Some people did test the layouts (like myself up to 1.5.5) and reported 
multiple errors / issues that Ben worked on to get fixed.  

With that said I myself echo'd Ben's call to have others test and report 
issues.  From what I recall some did initially and quite a few reported over 
time.

While I understand where the 2 of you are coming from I think you could really 
help Stripes evolve if you could distill your issues into a mini project that 
Ben could debug and resolve.

Because even if the old code is incorporated via an option / flag that does 
nothing to help those that will hit the same issues you are experiencing 
when/if their layouts become as complex.  And then they will remark that 
Stripes sucks because their layouts on latest code do not work... you will tell 
them... no... no... it does work... just use the old code b/c the new code 
doesn't work very well for complex layouts or whatever other scenario... and 
BTW since we know this but haven't been able to provide testable code to 
resolve... we've done the next best thing and put the old working code into the 
latest release as an option.

That would be a sad commentary for any project so please help create 
reproducible cases to help the entire community b/c only those with issues can 
help us get over this issue once and for all... and help people like myself 
avoid the issues you face at some point down the road.

Yes... this is solely my opinion... and I'm well aware that some will disagree.

--Nikolaos
Sent from my iPhone


On 2012-01-31, at 9:48 AM, Mike McNally <emmecin...@gmail.com> wrote:

> Well I can see if I can work up a simple test case. My site isn't
> super-complicated, I don't think. I just invoke layout-render inside
> of layout-components in many places, sometimes more than two deep.
> There are also a number of <jsp:include> calls inside of
> layout-components, and some of those call layout-render too.  I also
> use many tag files, and many of those call stripes tags. Overall I'm
> not sure exactly what goes wrong, but generally the effect is that
> layouts are just not rendered at all.
> 
> 
> 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

Reply via email to