on 1/9/2001 10:42 AM, "Dave" <[EMAIL PROTECTED]> wrote:

> 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.

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.

thanks,

-jon

-- 
Honk if you love peace and quiet.


Reply via email to