[opencms-dev] XML Content structured problem

Territorio Jordan-V. jordan.territorio at gmail.com
Thu Apr 10 16:09:45 CEST 2008


Hi all,

I caught this with my templates :
10 avr. 2008 16:08:42,390 ERROR [ina.core.ApplicationDispatcher: 711]
"Servlet.service()" pour la servlet jsp a lancé une exception
org.opencms.main.CmsIllegalArgumentException: The 'cms:contentload' tag
requires a 'param' attribute.

the fact is that param is in the file...
Here is my template :
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<cms:include property="template" element="head" />

<div class="element">
    <cms:contentload collector="singleFile" param="${opencms.uri}"
editable="true">
        <h2><cms:contentshow element="Title" /></h2>
        <cms:contentcheck ifexists="Image">
            <img src="<cms:link><cms:contentshow element="Image"
/></cms:link>" >
        </cms:contentcheck>
        <p><cms:contentshow element="Text" /></p>
    </cms:contentload>
</div>
<cms:include property="template" element="foot" />

I am on this problem since this morning and i still have the same
exception....
somone could help me please ??

-- 
TERRITORIO Jordan-Victor
Ingénieur d'Intégration Java
TEAMLOG – Ingenieurs 2000

+33 6 30 66 54 69
jot at teamlog.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080410/17e61532/attachment.htm>


More information about the opencms-dev mailing list