[opencms-dev] Include the template elements in JSP XMl CONTENT 6.0.2

Fievet Marc Marc.Fievet at winterthur.be
Fri Oct 28 10:15:13 CEST 2005


Hello,
 
 
According the documentation for display a structured xml content, I create
the list.jsp and a detail page.
A follow the examples.
 
For the list.jsp, no problem it's working fine with include my template.
I copy the peace of code from the example furnished.
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms
<http://www.opencms.org/taglib/cms> " %>
<cms:include property="template" element="head" />
 
........xxxx
xxxx
 
<cms:include property="template" element="foot" />
 
 
For the detail page, the code is the same for include my template. I have
just copy/paste
 
 
Detail.jsp begins with
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms
<http://www.opencms.org/taglib/cms> " %>
<cms:include property="template" element="head" />
xxxxxxxx
<cms:include property="template" element="foot" />
 
if I delete the cms:include .... it's working without the template....
 
What's wrong?
 
thank you,
 
 
Regards,
 
MARC



______________________________________________


Winterthur-Europe Insurance - VAT BE 0403.290.168 RPM/RPR BRUSSELS.
This message may contain confidential, proprietary or legally privileged information and is intended only for the use of the addressee named above. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance on it. If you have received this message in error please delete it and any copies of it and notify Winterthur immediately.This e-mail message and any attached files have been scanned for the presence of computer viruses. However, you are advised that you open any attachments at your own risk. 
The integrity and security of this message cannot be guaranteed on the Internet.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051028/7fe93640/attachment.htm>


More information about the opencms-dev mailing list