On Tue, 09 Jan 2001, you wrote:
> On Friday 05 January 2001 05:33, you wrote:
> > I added some very basic ContextTool stuff under the whiteboard area.
> >
> > Nothing special. But maybe it'll give us a basis to discuss how we
> > may want to go about adding this functionality and what kind of tools
> > would be useful.
> 
> What if the context tools works the same way as the turbine modules
> with loaders and caching of the modules (read: tools) ? 
> 
> Then we could specifiy in the velocity.properties where to search for 
> the context tools (eksample: 
> <snip>
> contexttools.package=org.apache.velocity.contexttools,  
> org,yourorg,velocity.contexttools
> </snip>)
> 
> And put a toolloader in the context whitch can be used like this
> <snip of vtl>
> #set $aTool = $toolLoader.getTool("org.apache.velocity.contexttool.SomeTool")
> </snip of vtl>

I like this idea. 
-- 
Dave Bryson
[EMAIL PROTECTED]
----------------------

Reply via email to