[opencms-dev] Adding two html to a template ,Please Help !

Claus Priisholm cpr at codedroids.com
Mon Nov 29 09:08:30 CET 2004


You could be seeing a include problem in 5.0 that from pops up from 
time to time, have a look at:

http://mail.opencms.org/pipermail/opencms-dev/2004q3/012482.html

The example uses scriplets rather than taglibs but the underlying 
problem seems to be the same.


On 28/11-2004, at 7.39, mkannet wrote:

> Hi All,
> I'm trying to add two page(body of the page using the template + 
> another
> included page) to my template using <cmd:include . page=./>
> The problem is I get the content of the body included page why ?
>
> Please look at this  : -
>
> http://www.mkan.net/servlets/opencms/main/page.html
>
> -------------Problem -----------------
> <cms:include page="/main/subpage.html" />
>
> <cms:template element="body">
> 	<cms:include element="body" />  <--- I can see the body of the
> subpage.html and not the included page !
> </cms:template>
>
> --------------------------------------
> What I'm doing wrong ?
>
> Please Help I have to sleep (3 days with no sleep)
> Thanks in advance !
>
>
>
>
> _______________________________________________
> 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 <you know what> codedroids.com
http://www.codedroids.com




More information about the opencms-dev mailing list