<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#c0c0c0>
<DIV><FONT face="Courier New" size=2>Dear Michael,</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>sorry <SPAN
class=766135509-07092001>for bothering</SPAN> you<SPAN
class=766135509-07092001> again </SPAN>but it seems that I
really need your help to solve this problem:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN
class=766135509-07092001>Upfront</SPAN><SPAN
class=766135509-07092001> </SPAN><SPAN
class=766135509-07092001>one </SPAN>question: <SPAN
class=766135509-07092001>W</SPAN>as the element cache of your system switched
on, when you reconstructed my problem? If 'yes' - then the problem m<SPAN
class=766135509-07092001>ight probably </SPAN>be<SPAN
class=766135509-07092001> </SPAN>larger. Therefore I <SPAN
class=766135509-07092001>will exactly </SPAN>descripe the steps<SPAN
class=766135509-07092001> which I took:</SPAN> </FONT></FONT></DIV>
<UL>
<LI><FONT face="Courier New" size=2>System1: NT4/IIS/Tomcat 3.3-b1/OpenCms
4.4.0</FONT></LI><FONT face="Courier New" size=2>
<LI><FONT face="Courier New" size=2>System2: Linux/Apache/Tomcat
3.3-b1/OpenCms 4.4.0</FONT></LI>
<LI>Elementcache is 'on' (by default in opencms.properties)</LI>
<LI>I created the XML Template named "test" in /content/templates/ in the
workspace.</FONT><FONT face="Courier New" size=2></LI></UL></FONT>
<DIV><FONT face="Courier New" size=2>
<HR>
</FONT></DIV>
<DIV align=center><FONT face="Courier New" size=2><FONT color=#808080>XML
TEMPLATE</FONT><BR></DIV></FONT>
<DIV><FONT face=Courier color=#000080 size=1><?xml
version="1.0"?><BR><XMLTEMPLATE><BR><TEMPLATE><BR>
<![CDATA[<BR> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0 Transitional//EN"><BR>
<html><BR>
<head><BR>
<title>]]><method
name="getTitle"/><![CDATA[</title><BR>
</head><BR>
<BODY><BR> ]]><BR> <ELEMENT
name="body"/><BR> <![CDATA[<P>]]><BR> <ELEMENT
name="body2"/><BR> <![CDATA[<BR>
</BODY><BR> </html><BR>
]]><BR></TEMPLATE><BR><ELEMENTDEF
name="body2"><BR> <CLASS>com.opencms.template.CmsXmlTemplate</CLASS><BR> <TEMPLATESELECTOR>body2</TEMPLATESELECTOR><BR></ELEMENTDEF><BR></XMLTEMPLATE></FONT></DIV>
<DIV><FONT face="Courier New" size=2>
<HR>
</FONT></DIV>
<UL><FONT size=2>
<LI><FONT face="Courier New"><FONT size=2>In the root directory I created a
<STRONG>page</STRONG> named "test", which uses the test template.</FONT>
</FONT>
<LI><FONT face="Courier New"><FONT size=2>Afterwards I edited the page with
the WYSIWYG editor, <SPAN
class=766135509-07092001>entered </SPAN><SPAN
class=766135509-07092001>this text "Defaultbody" </SPAN>in<SPAN
class=766135509-07092001> </SPAN><SPAN class=766135509-07092001>the
</SPAN>default body<SPAN class=766135509-07092001>,</SPAN> added a new body
(body2) and <SPAN class=766135509-07092001>entered </SPAN><SPAN
class=766135509-07092001>this </SPAN>text "Text for Body2" and <SPAN
class=766135509-07092001>saved </SPAN>the whole.</FONT> </FONT>
<LI><FONT face="Courier New" size=2>Then I <SPAN
class=766135509-07092001>l</SPAN>ook<SPAN class=766135509-07092001>ed
into</SPAN> /content/bodys/test.html</FONT></FONT><FONT face="Courier New"
size=2>:</FONT></LI></UL>
<DIV>
<HR>
</DIV>
<DIV align=center><FONT face="Courier New" color=#808080 size=2>BODY
FILE</FONT></DIV>
<DIV><FONT face="Courier New" size=2><FONT face=Courier color=#000080
size=1><?xml version="1.0"
encoding="ISO-8859-1"?><BR><XMLTEMPLATE><BR>
<TEMPLATE><![CDATA[<P>Defaultbody</P>]]></TEMPLATE><BR>
<template name="body2"><![CDATA[Text for
Body2]]></template><BR></XMLTEMPLATE></FONT><BR></DIV>
<DIV>
<HR>
</DIV><FONT size=2>
<UL>
<LI><FONT face="Courier New" size=2>Then I <SPAN
class=766135509-07092001>l</SPAN>ook<SPAN class=766135509-07092001>ed
into</SPAN> the page control file of /test.html</FONT></FONT><FONT
face="Courier New" size=2>:</FONT></LI></UL>
<HR>
<DIV align=center><FONT face="Courier New" color=#808080 size=2>PAGE CONTROL
FILE</FONT></DIV>
<DIV><FONT face=Courier color=#000080><?xml version="1.0"
encoding="ISO-8859-1"?><BR><PAGE><BR>
<class>com.opencms.template.CmsXmlTemplate</class><BR>
<masterTemplate>/content/templates/test</masterTemplate><BR>
<ELEMENTDEF name="body"><BR>
<CLASS>com.opencms.template.CmsXmlTemplate</CLASS><BR>
<TEMPLATE>/content/bodys/test.html</TEMPLATE><BR>
</ELEMENTDEF><BR></PAGE></FONT></DIV>
<DIV>
<HR>
</FONT></DIV>
<UL>
<LI><FONT face="Courier New" size=2>Then i clicked on test.html in the root
directory with the following result:</FONT></LI></UL>
<DIV><FONT face="Courier New" size=2>
<HR>
</FONT></DIV>
<DIV align=center><FONT size=2><FONT face="Courier New"><FONT
color=#808080>BROWSER OUTPUT</FONT><BR></FONT></DIV><FONT
face="Courier New"></FONT></FONT>
<DIV align=center><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA"><IMG
height=239 src="cid:716353408@07092001-2337" width=253
v:shapes="_x0000_i1025"></SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA">
<HR>
</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA"><FONT
face="Courier New"></FONT></SPAN></FONT> </DIV><FONT face="Courier New"
size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA">
<HR>
</SPAN></FONT>
<DIV align=center><FONT face="Courier New" size=2><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: TradeGothic; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE; mso-fareast-language: DE; mso-bidi-language: AR-SA"><FONT
color=#808080 size=2><FONT face="Courier New">SINGLE DUMP IN
OPENCMS.LOG<BR></FONT></DIV></FONT></SPAN></FONT>
<DIV><FONT face=Courier size=1>...</FONT></DIV>
<DIV><FONT face=Courier color=#000080 size=1>[</FONT><FONT face=Courier
color=#000080 size=1>07.09.2001 10:38:09] <opencms_info>
[CmsXmlTemplateFile] Cannot find "bodytag" tag in XML template file
test.<BR>[07.09.2001 10:38:32] <opencms_info> [CmsXmlTemplateFile] Cannot
find "bodytag" tag in XML template file test.<BR>[07.09.2001 10:38:42]
<opencms_critical> [CmsXmlLanguageFile] Mandatory tag
"fileicon.compatiblePlain" missing in language file "core_de".<BR>[07.09.2001
10:38:47] <opencms_critical> [CmsElementXml (CmsXmlTemplate/test)]
Non-CmsException in element body2<BR>[07.09.2001 10:38:47]
<opencms_critical> [CmsElementXml
(CmsXmlTemplate/test)]java.lang.NullPointerException<BR>opencms.log lines
3076-3149/3149 (END)</FONT></DIV>
<DIV><FONT face="Courier New" size=2>
<HR>
</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>
<DIV><FONT size=2>If I disable the element cache in opencms.properties and
restart Tomcat, the page is correctly displayed(!). The behavio<SPAN
class=766135509-07092001>u</SPAN>r of OpenCms in this case is identical on both
systems. Therefore I cannot explain myself why the example on your system
operated correctly.</FONT></DIV>
<DIV><FONT size=2>Did I perhaps<SPAN class=766135509-07092001> do wrong
somewhere</SPAN>? I studied the OpenCms manual quite exactly here, but perhaps I
did not correctly understood the systematics<SPAN
class=766135509-07092001> </SPAN>yet, which is behind the application of
several bodies in one Template<FONT face=Arial color=#0000ff><SPAN
class=766135509-07092001><FONT face="Courier New"
color=#000000>.</FONT> </SPAN></FONT></FONT></DIV></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Many thanks in Advance,</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Oliver</FONT></DIV>
<P><FONT size=2><FONT
face="Courier New">--------------------------------------------------------------------<BR>Dipl.-Inform./Medien
(FH) Oliver Faulhaber<BR>Push Interactive
GmbH Fon:
+49/202/2427-346<BR>VillaMedia, Viehhofstrasse 125 Fax:
+49/202/2427-310<BR>D-42117
Wuppertal
URL: </FONT><A target=_blank href="http://www.push-interactive.de/"><FONT
face="Courier New">http://www.push-interactive.de/</FONT></A><BR><FONT
face="Courier New">--------------------------------------------------------------------<BR><BR></FONT></FONT></P></BODY></HTML>