Hello all,
I'm having problem with the Freemarker include directive.
I get an error if the included template is outside of the including file's
directory. Here's a scenario:
In ecommerce/includes/header.ftl I put <#include "cart/microcart.ftl">
As far as I know the "root directory of the templates" is set to
HttpServletRequest.getRealPath("/"), so the filename parameter should be OK,
but a TemplateException is raised: "Error reading included file..."
What's wrong?
Thanks for your time!
</Firas>
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users