<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=562485315-10042008><FONT face=Verdana
size=2>> seriously why doens't it work correctly using the ${opencms.uri}
???</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=562485315-10042008><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=562485315-10042008><FONT face=Verdana
size=2>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.</FONT></SPAN></DIV><!-- Converted from text/plain format --><BR>
<P><FONT face=Verdana size=2>Kind
Regards,<BR>Alex.<BR><BR>-------------------<BR>Alexander
Kandzior<BR> <BR>Alkacon
Software GmbH - The OpenCms
Experts <BR></FONT><A
href="http://www.alkacon.com/"><FONT face=Verdana
size=2>http://www.alkacon.com</FONT></A><FONT face=Verdana size=2> - </FONT><A
href="http://www.opencms.org/"><FONT face=Verdana
size=2>http://www.opencms.org</FONT></A><FONT face=Verdana
size=2> <BR> <BR>Visit
OpenCms Days 2008 Conference and
Expo <BR>May
5 to May 6 2008 in Cologne,
Germany <BR></FONT><A
href="http://www.opencms-days.org/"><FONT face=Verdana
size=2>http://www.opencms-days.org</FONT></A><FONT face=Verdana
size=2>
</FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Territorio
Jordan-V.<BR><B>Sent:</B> Thursday, April 10, 2008 4:46 PM<BR><B>To:</B> The
OpenCms mailing list<BR><B>Subject:</B> Re: [opencms-dev] XML Content
structured problem<BR></FONT><BR></DIV>
<DIV></DIV>No that's okay, wrks with IE too, cache problem...<BR>but seriously
why doens't it work correctly using the ${opencms.uri} ???<BR><BR>
<DIV><SPAN class=gmail_quote>2008/4/10, Territorio Jordan-V. <<A
href="mailto:jordan.territorio@gmail.com">jordan.territorio@gmail.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">It
works with Firefox but not with IE...<BR><BR>
<DIV><SPAN class=gmail_quote>2008/4/10, Territorio Jordan-V. <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jordan.territorio@gmail.com"
target=_blank>jordan.territorio@gmail.com</A>>:</SPAN>
<DIV><SPAN class=e id=q_11938c619891768e_1>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">it
works...<BR>I'm angry...<BR>Why ${opencms.uri} doesn't work in this
environment?<BR><BR>(thank you)<BR><BR>
<DIV><SPAN class=gmail_quote>2008/4/10, Hendrik Jander <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:hendrik.jander@pixelpark.com"
target=_blank>hendrik.jander@pixelpark.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV><SPAN>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Hello,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>try
to use %(opencms.uri) instead of<FONT face="Times New Roman"><FONT
color=#000000 size=3>
${opencms.uri}.</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN>This should work.</SPAN></DIV>
<DIV dir=ltr align=left><SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN>Regards,</SPAN></DIV>
<DIV dir=ltr align=left><SPAN>Hendrik</SPAN></DIV><BR>
<DIV lang=de dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>Von:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:opencms-dev-bounces@opencms.org"
target=_blank>opencms-dev-bounces@opencms.org</A>] <B>Im Auftrag von
</B>Territorio Jordan-V.<BR><B>Gesendet:</B> Donnerstag, 10. April 2008
16:10<BR><B>An:</B> The OpenCms mailing list<BR><B>Betreff:</B>
[opencms-dev] XML Content structured problem<BR></FONT><BR></DIV>
<DIV><SPAN>
<DIV></DIV>Hi all,<BR><BR>I caught this with my templates :<BR>10 avr.
2008 16:08:42,390 ERROR [ina.core.ApplicationDispatcher: 711]
"Servlet.service()" pour la servlet jsp a lancé une
exception<BR>org.opencms.main.CmsIllegalArgumentException: The
'cms:contentload' tag requires a 'param' attribute.<BR><BR>the fact is
that param is in the file...<BR>Here is my template :<BR><%@ taglib
prefix="cms" uri="<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.opencms.org/taglib/cms"
target=_blank>http://www.opencms.org/taglib/cms</A>"%><BR><%@
taglib prefix="c" uri="<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://java.sun.com/jsp/jstl/core"
target=_blank>http://java.sun.com/jsp/jstl/core</A>"%><BR><%@
taglib uri="<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://java.sun.com/jsp/jstl/functions"
target=_blank>http://java.sun.com/jsp/jstl/functions</A>" prefix="fn"
%><BR><BR><cms:include property="template" element="head"
/><BR><BR><div class="element"><BR>
<cms:contentload collector="singleFile" param="${opencms.uri}"
editable="true"><BR>
<h2><cms:contentshow element="Title"
/></h2><BR>
<cms:contentcheck ifexists="Image"><BR>
<img
src="<cms:link><cms:contentshow element="Image"
/></cms:link>" ><BR>
</cms:contentcheck><BR>
<p><cms:contentshow element="Text"
/></p><BR>
</cms:contentload><BR></div><BR><cms:include
property="template" element="foot" /><BR><BR>I am on this problem
since this morning and i still have the same exception....<BR>somone
could help me please ??<BR clear=all><BR>-- <BR>TERRITORIO
Jordan-Victor<BR>Ingénieur d'Intégration Java<BR>TEAMLOG – Ingenieurs
2000<BR><BR>+33 6 30 66 54 69<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jot@teamlog.com" target=_blank>jot@teamlog.com</A>
</SPAN></DIV></DIV><BR><BR></SPAN></DIV>_______________________________________________<BR>This
mail is sent to you from the opencms-dev mailing list<BR>To change your
list options, or to unsubscribe from the list, please visit<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.opencms.org/mailman/listinfo/opencms-dev"
target=_blank>http://lists.opencms.org/mailman/listinfo/opencms-dev</A><BR></BLOCKQUOTE></DIV>
<DIV><SPAN><BR><BR clear=all><BR>-- <BR>TERRITORIO
Jordan-Victor<BR>Ingénieur d'Intégration Java<BR>TEAMLOG – Ingenieurs
2000<BR><BR>+33 6 30 66 54 69<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jot@teamlog.com" target=_blank>jot@teamlog.com</A>
</SPAN></DIV></BLOCKQUOTE></SPAN></DIV></DIV>
<DIV><SPAN class=e id=q_11938c619891768e_3><BR><BR clear=all><BR>--
<BR>TERRITORIO Jordan-Victor<BR>Ingénieur d'Intégration Java<BR>TEAMLOG –
Ingenieurs 2000<BR><BR>+33 6 30 66 54 69<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:jot@teamlog.com" target=_blank>jot@teamlog.com</A>
</SPAN></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>TERRITORIO
Jordan-Victor<BR>Ingénieur d'Intégration Java<BR>TEAMLOG – Ingenieurs
2000<BR><BR>+33 6 30 66 54 69<BR><A
href="mailto:jot@teamlog.com">jot@teamlog.com</A> </BLOCKQUOTE></BODY></HTML>