[opencms-dev] Please Help - No properties presented
Daniel Rhoden
drhoden at iiwinc.com
Fri Feb 11 16:48:46 CET 2005
I have a couple suggestions based on my experience with version 6a3.
First, change "title" to "Title" like this:
<title><cms:property name="Title" escapeHtml="true" /></title>
Second, concerning the link to your css, I would make the following change:
<link rel="stylesheet" type="text/css"
href="<cms:link>../resources/ABT.css</cms:link>" />
Hope this helps!
--Daniel Rhoden
Ronald Lips wrote:
> 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/resources/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: r_onald.lips at atobemobile.com_
> web: _www.atobemobile.com_ <file://www.atobemobile.com>
>
>
>------------------------------------------------------------------------
>
>
>
>_______________________________________________
>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