[opencms-dev] body element errors in example templates

Simon Brunton simon.brunton at akqa.com
Mon Jul 11 13:19:34 CEST 2005


Hi,
 
I am running version 6 rc2 and trying to run the JSP example used in the
Alkacon documentation as follows:
 
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><cms:property name="Title" escapeHtml="true" /></title>

<meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html;
CHARSET=<cms:property name="content-encoding" default="ISO-8859-1" />">

<link type= "text/css"
href="<cms:link>../resources/mystyle.css</cms:link>"> 
</head> 
<body>

<h2>My first template head</h2>

<!-- Main pagebody starts here -->

<cms:include element= "body"/> 

<!--Main pagebody ends here -->

<h2>My first template foot</h2>

</body>
</html>
 
 
I am getting the following error which relates to the line of code which
includes the body element in this template:
 
VFS target "/system/modules/com.switchco.test/templates/test1.jsp" was
already included earlier
 
Can anyone help?
 
Thanks,
 
Simon
 
 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050711/29fdd260/attachment.htm>


More information about the opencms-dev mailing list