<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff size=2>it's
better to put your mydeatil.jsp under /system/modules/yourmodule/elements and
your xsd stuff under schemas, have a look in templateone to see how it is
done:</FONT></SPAN></DIV>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff
size=2>/system/modules/org.opencms.frontend.templateone.modules/</FONT></SPAN></DIV>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=193151212-16012006><FONT face=Arial color=#0000ff
size=2>Arash</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Arora, Sorabh<BR><B>Sent:</B> Montag, 16. Januar 2006
13:01<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev]
Setting template-elements property<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>Hi</FONT> </P>
<P><FONT face=Arial size=2>I am a newbie and trying to create my first piece
of custom content, following instructions as given on page: </FONT><BR><A
href="http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html"><U><FONT
face=Arial color=#0000ff
size=2>http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html</FONT></U></A>
</P>
<P><FONT face=Arial size=2>In step 5 of the instructions, I need to specify
the "template-elements" property of "myfolder" and specify the location of the
detail page. </FONT></P>
<P><FONT face=Arial size=2>My setup is as follows:</FONT> </P>
<P><FONT face=Arial size=2>//sites/default/</FONT>
<BR> <FONT face=Arial
size=2>|</FONT> <BR> <FONT
face=Arial size=2>-- xmlcontentdemo</FONT>
<BR>
<FONT face=Arial size=2>|</FONT>
<BR>
<FONT face=Arial size=2>--
myfolder</FONT> <BR>
<FONT face=Arial size=2>|</FONT>
<BR>
<FONT face=Arial size=2>--
mydetail.jsp</FONT> <BR>
<FONT face=Arial size=2>--
myarticle.xsd</FONT> <BR>
<FONT face=Arial size=2>--
myarticle.html</FONT> </P>
<P><FONT face=Arial size=2>I set the "template-elements" property of
"myfolder" to "/xmlcontentdemo/myfolder/mydetail.jsp". </FONT><BR><FONT
face=Arial size=2>It gave me the following error:</FONT> <BR><FONT face=Arial
size=2>Error reading resource from path "/opencms:uri".</FONT> <BR><FONT
face=Arial size=2>Reason: Unable to read resource "/opencms:uri"</FONT> </P>
<P><FONT face=Arial size=2>I tried to use
"xmlcontentdemo/myfolder/mydetail.jsp" as well, without the starting forward
slash. I get the same error. </FONT></P>
<P><FONT face=Arial size=2>Could someone help me with this?</FONT> </P>
<P><FONT face=Arial size=2>Cheers</FONT>
<BR> </P><BR>
<P><B><FONT face=Arial size=2>Sorabh Arora</FONT></B> <BR><FONT face=Arial
size=2>Atkins Transport Systems</FONT> <BR><FONT face=Arial size=2>Woodcote
Grove</FONT> <BR><FONT face=Arial size=2>Ashley Road</FONT> <BR><FONT
face=Arial size=2>Epsom KT18 5BW</FONT> </P>
<P><FONT face=Arial size=2>Tel: 01372 756728</FONT> <BR><FONT face=Arial
size=2>Fax: 01372 756607</FONT> </P><BR><BR>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff"
color=#ff0000><STRONG><FONT color=#000000>This email and any attached files
are confidential and copyright protected. If you are not the addressee, any
dissemination of this communication is strictly prohibited. Unless otherwise
expressly agreed in writing, nothing stated in this communication shall be
legally binding</FONT>.</STRONG></FONT><A
href="http://www.blackspider.com/"><FONT style="BACKGROUND-COLOR: #ffffff"
color=#000000></FONT></A></P></BLOCKQUOTE></BODY></HTML>