[opencms-dev] XML Content structured problem

Hendrik Jander hendrik.jander at pixelpark.com
Thu Apr 10 16:20:16 CEST 2008


Hello,
 
try to use %(opencms.uri) instead of  ${opencms.uri}.
This should work.
 
Regards,
Hendrik

 _____ 
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Territorio Jordan-V.Gesendet: Donnerstag, 10. April 2008 16:10An: The OpenCms mailing listBetreff: [opencms-dev] XML Content structured problem
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 exceptionorg.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-VictorIngénieur d'Intégration JavaTEAMLOG - Ingenieurs 2000+33 6 30 66 54 69jot at teamlog.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080410/871b3db5/attachment.htm>


More information about the opencms-dev mailing list