[opencms-dev] JSP in online version shows template head instead of foot

Martin Kuba makub at ics.muni.cz
Tue Apr 26 16:25:26 CEST 2005


Hi,

I have upgraded to OpenCms 6beta2, and now I tried to create
a JSP page with simple content:

<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" element="head" />
<p>Experiment</p>
<cms:include property="template" element="foot" />

and defined property "template" for it to point to a template.

The strange thing is that in offline version, it is showing O.K.

But in the online version, the cms:include for footer
inserts header part of template. Thus the page has the footer twice,
and no footer.

I suppose that is a bug in OpenCMS. Is anybody experiencing the same 
problem ?

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: makub at ics.muni.cz
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2847 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050426/f74c4d07/attachment.bin>


More information about the opencms-dev mailing list