[opencms-dev] Opencms & Velocity...
Ashok Hariharan
ashok.hariharan at gmail.com
Fri Feb 24 16:06:49 CET 2006
Hi:
I am trying to use Jakarta Velocity within Opencms. Everything seems
to work, but I cant to seem to get #include() or #parse() from within
a velocity script to work.....
I have tried prefixing "opencms://<path>" and without the prefix...but
Velocity still cannot seem to include files from within the VFS.
Error message as below...
<error message>
Unable to find resource 'opencms://sites/default/test_include.vm'
org.apache.velocity.exception.ResourceNotFoundException: Unable to
find resource 'opencms://sites/default/include.vm' at
.........
</error message>
The velocity documentation talks about setting a TEMPLATE_ROOT...but
am not sure if that is the problem. Has someone experienced the same
problem?
thanks
Ashok
--
++++ Ashok Hariharan ++++
More information about the opencms-dev
mailing list