[opencms-dev] bvr- body tags done seem to be working - What iswrong with this line of code
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Tue Aug 9 00:01:44 CEST 2005
Hi Nik,
<%@ taglib prefix="cms" uri=" <http://www.opencms.org/taglib/cms>
http://www.opencms.org/taglib/cms" %>
<%@ page buffer="none" import = "org.opencms.jsp.CmsJspActionElement,
org.opencms.file.CmsObject, org.opencms.file.CmsRequestContext"%>
........................
........................
........................
<cms:template element="body">
<!-- start content text -->
<div class="element">
<cms:include element="body" editable="true"/>
</div>
</cms:template>
or the templateone solution.
HTH,
Regards,
Arash
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Michael, Nick N
Sent: Montag, 8. August 2005 14:22
To: 'The OpenCms mailing list'
Subject: [opencms-dev] bvr- body tags done seem to be working - What
iswrong with this line of code
Hi there
I cant get content in the body tags
What am I doing wrong ?
see code below
<% // Create a JSP action element for getting body content
org.opencms.jsp.CmsJspActionElement cmsAct= new
org.opencms.jsp.CmsJspActionElement(pageContext, request, response);
%>
<!-- (body content) -->
<%
// the body element
cmsAct.include(null, "body"); ///// what is wrong with this
line of code ?
%>
<!-- (body content) -->
With kind regards
Nick Michael
tel 2-9032
cell 082-508-1950
________________________________________________________________________
__________________________________________________________
Standard Bank Disclaimer and Confidentiality Note
This e-mail, its attachments and any rights attaching hereto are, unless
the context clearly indicates otherwise, the property of Standard Bank
Group Limited and/or its subsidiaries ("the Group"). It is confidential,
private and intended for the addressee only.
Should you not be the addressee and receive this e-mail by mistake,
kindly notify the sender, and delete this e-mail, immediately and do not
disclose or use same in any manner whatsoever. Views and opinions
expressed in this e-mail are those of the sender unless clearly stated
as those of the Group. The Group accepts no liability whatsoever for any
loss or damages whatsoever and howsoever incurred, or suffered,
resulting, or arising, from the use of this email or its attachments.
The Group does not warrant the integrity of this e-mail nor that it is
free of errors, viruses, interception or interference. Licensed
divisions of the Standard Bank Group are authorised financial services
providers in terms of the Financial Advisory and Intermediary Services
Act, No 37 of 2002 (FAIS).
For information about the Standard Bank Group Limited visit our website
<http://www.standardbank.co.za> http://www.standardbank.co.za
________________________________________________________________________
__________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050809/7ceb81a0/attachment.htm>
More information about the opencms-dev
mailing list