[opencms-dev] XML Content structured problem

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


 it works...
I'm angry...
Why ${opencms.uri} doesn't work in this environment?

(thank you)

2008/4/10, Hendrik Jander <hendrik.jander at pixelpark.com>:
>
>  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:10
> *An:* The OpenCms mailing list
> *Betreff:* [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 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
>
>
> _______________________________________________
> 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
>



-- 
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/5f31813a/attachment.htm>


More information about the opencms-dev mailing list