[opencms-dev] include js file through property in Opencms

Vinod Dangudubiyyapu vinod.d at sonata-software.com
Wed Nov 17 06:01:14 CET 2010


Hi,

 

Iam trying to include a js file from property options im unable to
include the file

<cms:include property="commitments" element="body" />

Property window adding js file in "commitments" the path is

/sites/sitename/js/commitment.js

 

Im getting error

javax.servlet.jsp.JspException:
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
from path "/sites/sitename/js/commitments.js".

 

please provide me a solution.

 

Thanks and Regards

Vinod Dangudubiyyapu

Technical Consultant

Ph : 040 3090 7466

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101117/7ddd4074/attachment.htm>


More information about the opencms-dev mailing list