[opencms-dev] Error The 'cms:contentload' tag requires a 'collector' attribute.

Olivier Camus olivier.camus at steria.com
Fri Jan 18 19:37:00 CET 2008


Hi !

Try to replace ${xxxx} by %(xxx) ??

@+
-------------- next part --------------
I'm getting the following error after moving my content to 7.0.3 from 6.2.2.
Is this a 7.0.3 bug, because even the stuff under xmlcontentdemo does this?
I didn't import over it. Here's the error and code below. I'm using the same
thing that's in the examples. All I've done is install 7.0.3 on Tomcat 5,
Java 6 on Ubuntu 7. Then I exported the folders from my 6.2.2 and imported
them on the 7.0.3. Any ideas why this would happen?

Error The 'cms:contentload' tag requires a 'collector' attribute.


<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:editable />
<cms:include property="template" element="head" />


<div class="element">
<cms:contentload collector="${elementProperty.collector}" param="${
opencms.uri}" editable="true">

<!--h1><cms:contentshow element="Title" /></h1-->

<p><small>By <cms:contentshow element="Author" /></small></p>

<cms:contentloop element="Teaser">
<p><i><cms:contentshow /></i></p>
</cms:contentloop>

<p>
<cms:contentshow element="Text" />
</p>

</div>
</cms:contentload>
<cms:include property="template" element="foot" />


-- 
"All that is necessary for the triumph of evil is that good men do nothing."
- Edmund Burke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080118/ad0ed7c6/attachment.htm>
-------------- next part --------------

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev


More information about the opencms-dev mailing list