AW: [opencms-dev] Writing several documents in one page ?
Frank Wunderlich
k.frank.wunderlich at gmx.de
Wed Jun 18 13:14:01 CEST 2003
Hi Alex,
I tried this too, but the resulting String is in my case something like
??? com.opencms.core.CmsException: XML document
/homepage/leistungen/webdevelopment/index.html is not of the expected
type. This document is "page", but it should be "XMLTEMPLATE" (OpenCms
XML template file). ???...
Any clue?
Frank.
>
> Try using
>
> <%
>
> CmsJspNavElement nav;
>
> // initialize nav somehow...
>
> String uri = nav.getResourceName();
> String content =
> com.opencms.flex.jsp.CmsJspActionElement.getContent(uri);
> out.println(content);
>
> %>
>
> Best Regards,
> Alex.
>
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
>
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] On Behalf Of
> Apostoly Guillaume
> > Sent: Wednesday, June 18, 2003 11:33 AM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Writing several documents in one page ?
> >
> >
> > Does anybody know how to write several documents (OpenCMS
> > "pages") on one JSP page ? Let's say i've got an ArrayList
> > with several CmsJspNavElement inside, how can i
> > "out.println("thecontentofeachelement")" ? Thanks by advance.
> >
> > Guillaume.
> > _______________________________________
> > Guillaume APOSTOLY
> > Business-Analyst EIS-BSD
> > Tél: +33 (0)1.30.44.95.22
> > Fax: +33 (0)1.30.44.98.08
> > ApostolyG at mail.europcar.com <mailto:ApostolyG at mail.europcar.com>
> > _______________________________________
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list,
> > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> >
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list