[opencms-dev] Setting template-elements property
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Mon Jan 16 13:16:51 CET 2006
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:
/system/modules/org.opencms.frontend.templateone.modules/
Regards,
Arash
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Arora, Sorabh
Sent: Montag, 16. Januar 2006 13:01
To: opencms-dev at opencms.org
Subject: [opencms-dev] Setting template-elements property
Hi
I am a newbie and trying to create my first piece of custom content,
following instructions as given on page:
<http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html>
http://mail.opencms.org/pipermail/opencms-dev/2004q4/013609.html
In step 5 of the instructions, I need to specify the "template-elements"
property of "myfolder" and specify the location of the detail page.
My setup is as follows:
//sites/default/
|
-- xmlcontentdemo
|
-- myfolder
|
-- mydetail.jsp
-- myarticle.xsd
-- myarticle.html
I set the "template-elements" property of "myfolder" to
"/xmlcontentdemo/myfolder/mydetail.jsp".
It gave me the following error:
Error reading resource from path "/opencms:uri".
Reason: Unable to read resource "/opencms:uri"
I tried to use "xmlcontentdemo/myfolder/mydetail.jsp" as well, without
the starting forward slash. I get the same error.
Could someone help me with this?
Cheers
Sorabh Arora
Atkins Transport Systems
Woodcote Grove
Ashley Road
Epsom KT18 5BW
Tel: 01372 756728
Fax: 01372 756607
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. <http://www.blackspider.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060116/98beb5d0/attachment.htm>
More information about the opencms-dev
mailing list