[opencms-dev] Setting template-elements property

Arora, Sorabh Sorabh.Arora at atkinsglobal.com
Mon Jan 16 13:00:47 CET 2006


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

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060116/e5cc9428/attachment.htm>


More information about the opencms-dev mailing list