[opencms-dev] "include body" misbehaves after including other file
Frank Wunderlich
k.frank.wunderlich at gmx.de
Mon Jun 2 17:55:01 CEST 2003
Hi,
I've got the following problem:
I have got a master-jsp-template, that shall dynamically include other
html-pages (resp. page-fragments), that have their own jsp-template.
That means, both, the including and the included page are editable via
opencms.
Unfortunatly the bodycontent of the main-page is not accessible anymore,
after I have included the other page.
Instead of showing the bodycontent of the main-page, the bodycontent of
the included page is shown again.
Example:
<cms:include element="body" /> // The correct bodycontent
of my page is displayed
<% cms.include(otherEditableHtmlFile); %> // The content of the
included page is displayed
<cms:include element="body" /> // The content of the
included page is shown again!!
Looks like some unwanted sideeffect to me...
Or am I doing something the wrong way?
Thanks in advance,
Frank.
More information about the opencms-dev
mailing list