You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br> on 2004/02/20 00:26:03 UTC
Re: [CONTRIB/RFC] Adding
VelocityEngine.getResourceLoaderForTemplate()
I dunno if other users have the same needs. But I writting an app that
uses multiple template paths and, sometimes, I need to know from which
path/resourceLoader my template will be loaded.
On Thu, 2004-02-19 at 20:18, Geir Magnusson Jr wrote:
> why?
>
> My initial reaction is worry about exposing the resource loader to the
> app....
>
> On Feb 19, 2004, at 3:56 PM, Leandro Rodrigo Saad Cruz wrote:
>
> > I've added this method to VelocityEngine :
> >
> > public ResourceLoader getResourceLoaderForTemplate(String
> > templateName);
> >
> > To provide client applications a hint from where velocity loaded the
> > template.
> >
> > --
> > Leandro Rodrigo Saad Cruz
> > InterBusiness Tecnologia e Serviços
> > OJB - db.apache.org/ojb
> > XINGU - xingu.sf.net
> > <FileResourceLoader.patch><ResourceLoader.patch><ResourceManager.patch>
> > <ResourceManagerImpl.patch><RuntimeInstance.patch><VelocityEngine.patch
> > >---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
--
Leandro Rodrigo Saad Cruz
InterBusiness Tecnologia e Serviços
OJB - db.apache.org/ojb
XINGU - xingu.sf.net
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org