<div>Hello Dan:<br><br>I am in fact using your module :) Everything works fine, except when i try to #parse () or #include () a file,<br>for some reasont it fails to include files from within the vfs....(i am able to access other opencms objects and functions 
</div>
<div>through velocity).</div>
<div> </div>
<div>any ideas/pointers...where i could have gone wrong?</div>
<div>thanks</div>
<div> </div>
<div>Ashok<br><br><br> </div>
<div><span class="gmail_quote">On 2/24/06, <b class="gmail_sendername">Dan Liliedahl</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dliliedahl@efoundry.com" target="_blank">dliliedahl@efoundry.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">There has already been posted a module for this solution.  I posted this a<br>little while back - do a search for it and you will find the code and
<br>module.  Works fine in the scenario you described.<br><br>Cheers,<br>Dan Liliedahl <br><br>-----Original Message-----<br>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:opencms-dev-bounces@opencms.org" target="_blank">
opencms-dev-bounces@opencms.org</a><br>[mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:opencms-dev-bounces@opencms.org" target="_blank">opencms-dev-bounces@opencms.org</a> ] On Behalf Of Ashok Hariharan
<br>Sent: Friday, February 24, 2006 10:07 AM<br>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>Subject: [opencms-dev] Opencms & Velocity...
<br><br>Hi:<br><br>I am trying to use Jakarta Velocity within Opencms.  Everything seems<br>to work, but I cant to seem to get #include() or #parse() from within<br>a velocity script to work.....<br><br>I have tried prefixing "opencms://<path>" and without the prefix...but 
<br>Velocity still cannot seem to include files from within the VFS.<br><br>Error message as below...<br><br><error message><br>Unable to find resource 'opencms://sites/default/test_include.vm'<br>org.apache.velocity.exception.ResourceNotFoundException
 : Unable to<br>find resource 'opencms://sites/default/include.vm' at<br>.........<br></error message><br><br>The velocity documentation talks about setting a TEMPLATE_ROOT...but<br>am not sure if that is the problem.  Has someone experienced the same 
<br>problem?<br><br>thanks<br><br>Ashok<br><br>--<br>++++ Ashok Hariharan ++++<br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit 
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br><br>_______________________________________________
<br>This mail is sent to you from the opencms-dev mailing list <br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">
http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>++++ Ashok Hariharan ++++