[opencms-dev] XML Content structured problem
Alexander Kandzior
alex at opencms.org
Thu Apr 10 17:57:31 CEST 2008
> seriously why doens't it work correctly using the ${opencms.uri} ???
Because if you are in a JSP 2.0 / servlet 2.4 webapp container,
${opencms.uri} will be evaluated by the JSP before OpenCms get a change to
handle it. And the JSP container will likely evaluate this to the empty
String.
Kind Regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software GmbH - The OpenCms Experts
<http://www.alkacon.com/> http://www.alkacon.com -
<http://www.opencms.org/> http://www.opencms.org
Visit OpenCms Days 2008 Conference and Expo
May 5 to May 6 2008 in Cologne, Germany
<http://www.opencms-days.org/> http://www.opencms-days.org
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Territorio Jordan-V.
Sent: Thursday, April 10, 2008 4:46 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] XML Content structured problem
No that's okay, wrks with IE too, cache problem...
but seriously why doens't it work correctly using the ${opencms.uri} ???
2008/4/10, Territorio Jordan-V. <jordan.territorio at gmail.com>:
It works with Firefox but not with IE...
2008/4/10, Territorio Jordan-V. <jordan.territorio at gmail.com>:
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
--
TERRITORIO Jordan-Victor
Ingénieur d'Intégration Java
TEAMLOG Ingenieurs 2000
+33 6 30 66 54 69
jot at teamlog.com
--
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/16ed6b96/attachment.htm>
More information about the opencms-dev
mailing list