[opencms-dev] Nested contentload: anyone solved this?

Jonathan Woods jonathan.woods at scintillance.com
Fri May 19 10:29:46 CEST 2006


Great idea for a workaround - thanks, Toni.  I'll give it a go.

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Toni PĂ©rez
Sent: 19 May 2006 08:52
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Nested contentload: anyone solved this?

On 18/05/06, Jonathan Woods <jonathan.woods at scintillance.com> wrote:
>
>
> I'm using 6.2.1, and I'm trying to nest one <contentload> tag within 
> another.  I've come across what seems to be a fairly widely met bug 
> which means that under certain common circumstances you just can't:
>
> http://www.nabble.com/forum/Search.jtp?query=nested+contentload&forum=
> 654
>
> Has anyone solved this or found a good workaround?


When I needed to nest "contentload" tags I extracted the nested contentload
to other JSP and then included it dynamically in the original JSP (with
"<cms:include>", for example).
If you try this option, remember that each JSP has its own pageContext so,
if you want to share information between them you have to store it in the
request, session or application scope.

I hope that helps.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list