Ben,
I think I found the reason why my layouts don't work under 1.5.4 beta.
I have nested layout’s that all use the same component name. Beta does
not seem to like that I have a ‘basePage.jsp’ layout defenition with a
component name “body” that is used by a ‘threeColumnPage.jsp’ layout
definition with a component also name “body” that is again used by a
‘memberLaylout.jsp’ layout definition with a component also name “body”
that is again used by … etc. etc.
<s:layout-definition>
<s:layout-render name="/WEB-INF/jsp/layout/ThreeColumn.jsp">
<s:layout-component name="body">
${body}
</s:layout-component>
</s:layout-render>
</s:layout-definition>
(will do some more tests tomorrow)
Kind regards,
Karen
On 29-05-10 0:04, KR wrote:
> Ben,
>
> Just returned from a short trip and did a quick test run on my project.
> Unfortunately my layouts did not render correctly. I still get the same
> stack overflow errors and out of order layouts.
>
> I will try to isolate the problem this week and send you some source file's
> that can reproduce the problem.
>
> Kind regards,
>
> Karen
>
>
> "Ben Gunter"<[email protected]> wrote in
> message news:[email protected]...
>> I have checked in a whole bunch of improvements in the last few days. I did
>> my best using the snippets you sent to reconstruct your layout for
>> testing,
>> and it looks to me like it works. (At least my reconstructed version
>> does.)
>> I haven't got the POM issues resolved yet so you'll need to build with Ant
>> directly from the 1.5.x branch. Please test it out and let me know how it
>> works.
>>
>> I need anyone who is interested to test this code out. Once I'm satisfied
>> it's ready to ship, I'm going to release 1.5.4. Thanks!
>>
>> -Ben
>>
>> On Wed, May 19, 2010 at 1:10 PM, KR
>> <[email protected]> wrote:
>>
>>> Ben,
>>>
>>> Thanks for all the work!
>>>
>>> I'm running this in Tomcat (Windows XP). The info.jsp works fine under
>>> Stripes-1.5.3 but result in an infinite loop when used with
>>> Strips-1.5.4-beta (Revision: 1236).
>>>
>>> <snip>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> ------------------------------------------------------------------------------
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> 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
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users