AW: [opencms-dev] Please Help - No properties presented
Andreas Zahner
A.Zahner at alkacon.com
Fri Feb 11 16:50:31 CET 2005
Ronald,
The property definition names are case sensitive, so you have to check for
the "Title" property.
Regards,
Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Ronald Lips
Gesendet: Freitag, 11. Februar 2005 16:42
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Please Help - No properties presented
Hi,
I am using OpenCms 6. I have problem retrieving properties in my templates.
For instance:
<%@ page import="org.opencms.jsp.*" %>
<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><cms:property name="title" escapeHtml="true" /></title>
<meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; CHARSET=<cms:property
name="content-encoding" default="ISO-8859-1" />" />
<cms:include page="../elements/defaccess.jsp"/>
<link rel="stylesheet" type="text/css"
href="/opencms/opencms/system/modules/com.atobemobile.opencms.template/resou
rces/ABT.css" />
</head>
<body>
...
</body>
</html>
In the example above, I never get to see the title of a page that is based
on this template, although the page does have the 'title' property. Does
anyone have an idea on what's going on?
Thanks
Ronald
AtoBe Mobile Solutions
Ronald Lips
tel: +31 (0)23 750 21 19
fax: +31 (0)23 750 21 11
mob: +31 (0)651 18 35 70
mail: ronald.lips at atobemobile.com
web: www.atobemobile.com <file://www.atobemobile.com>
More information about the opencms-dev
mailing list