> > This little patch allows one to do
> >
> > #parse("foo.vm")
> >
> > where foo.vm is located in the same directory as the template
> > containing the #parse directive.
> >
> > It is independant from the resource loader (and shouldn't impact
> > loaders that don't use path) : the only modified files are Parse.java
> > and Include.java.

> How could you want this independent of the resource loader?  ??

I just mean that this patch will make the relative resource loading behaviour 
available to any resource loader working with
pathnames.

I just want one to notice that without this patch, it is impossible to have a bunch of 
VTL files that is path-independant : full
pathnames have to be hardcoded in any #parse and #include directive, which is quite 
ugly.

And in addition, the fact that a template can "see" its current directory appears 
quite natural to me.

If you like the idea but not the way it is implemented, we can discuss it further.

CloD



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to