[opencms-dev] Including HTML Element into OCMS6 JSP

Alexander Kandzior alex at opencms.org
Wed Oct 27 11:35:35 CEST 2004


If the target is of type XMLpage, you need to specify the element ("body")
name in the include:

<cms:include file="temp_jsp.html" element="body1" /> 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Joachim Arrasz
> Sent: Wednesday, October 27, 2004 10:47 AM
> To: The OpenCms mailing list
> Subject: [opencms-dev] Including HTML Element into OCMS6 JSP
> 
> Hello list,
> 
> in OCMS 5 we made often includes from temp HTML Files into 
> JSPs so that we was able to usw WYSIWYG also for JSPs
> 
> In OCMS6 this seems to broken
> 
> if i insert something like this it doesn´t work:
> 
> <cms:include property="template" name="head"/> <cms:include 
> property="template" name="body">
>     <cms:include file="temp_jsp.html">
> </cms:include>
> <cms:include property="template" name="foot"/>
> 
> Is there now another way doing things like this?
> 
> Bye Achim
> 
> --
> /**
> * @author Joachim Arrasz
> * --> head of technology research <--
> * @phone +49/(0)721/66487932
> * @mobile 0160/8021351
> * @mail arrasz at synyx.de
> * @url http://www.synyx.de
> */
>  
> 
> 
> 
> _______________________________________________
> 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
> 
> 




More information about the opencms-dev mailing list