I posted a comment regarding this include issue a couple of days ago,
check the archive ('include hack').
On 29/9-2004, at 18.40, Andy Kriger wrote:
ArialIn this
template...
Arial<<%@ page
contentType="text/html" language="java" pageEncoding="UTF-8"
%>
Arial<<%@ taglib prefix="cms"
uri="0000,0000,EEEEhttp://www.opencms.org/taglib/cms"
%>
Arial<<<<
Arial<<
Arial<
Arial<<
Arial<
Arial<<
Arial<
Arial<<
Arial/gto/inc1.html and
/gto/inc2.html are files in the same directory as the page that is
using this template, containing the text "Include File 1" or "Include
File 2". The page using the template has a body of "This is some text".
Arial Viewing the page using the
template, I would expect to see
ArialInclude File
1
ArialThis is some
text
ArialInclude File
2
ArialWhen I view this page, I
see
ArialInclude File
1
ArialInclude File
1
ArialInclude File
2
ArialIf I move the < tag before the first include, then I
see
ArialThis is some
text
ArialInclude File
1
ArialInclude File
2
ArialSo the body text of the page
is definitely able to be found but the order of include tags seems to
affect things. Can anyone tell me why the inc1.html is being
duplicated? And how I might workaround this problem?
_______________________________________________
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
OpenCms links & API's:
http://www.codedroids.com/community/opencms
--
Claus Priisholm
+45 48 22 46 46
cpr < codedroids.com
http://www.codedroids.com