Dave Bryson wrote:
> 
> On Tue, 09 Jan 2001, you wrote:
> > I like the idea as well as an option, however, I would rather just have the
> > tools made available for the designer without the designer having to
> > copy/paste that line of code into each and every page.
> >
> > In other words, you are embedding a sense of "logic" into the page by
> > requiring someone to code something in there in order to get a certain
> > amount of functionality.
> 
> So then, each tool is uniquely identified and stuffed into the context by
> the loader. The page author then has a list of tools to pick from.

I guess the question is what is the 'loader'?  The app makes a perfectly
good loader, which is the model that Jason is using for his current work
in turbine-land.


> So instead of : #set $aTool = 
>$toolLoader.getTool("org.apache.velocity.contexttool.SomeTool")
> I use : $sometool
> 
> --
> Dave Bryson
> [EMAIL PROTECTED]
> ----------------------

-- 
Geir Magnusson Jr.                               [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity

Reply via email to