velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Church" <sh...@boxity.com>
Subject RE: ContextTool
Date Mon, 04 Mar 2002 19:06:57 GMT
That's essentially what I'm looking for, as long as the tool is instantiated
only on its first use.  I have read over the Velocity developer's guide, but
I may not have noticed the implementation.  So far, I have been explicitly
loading these tool classes into the context on each request.  However, not
every page will necessarily make use of these tools, so the instantiation is
wasted in these cases.

-----Original Message-----
From: Geir Magnusson Jr. [mailto:geirm@optonline.net]
Sent: Monday, March 04, 2002 12:07 PM
To: velocity-user@jakarta.apache.org
Subject: Re: ContextTool


On 3/4/02 12:35 PM, "Shawn Church" <shawn@boxity.com> wrote:

> I have used WebMacro extensively over the past couple of years, but I am
> also curious about Velocity.  It seems to work pretty much as expected,
but
> I haven't noticed an equivalent interface in Velocity to the WebMacro
> ContextTool.  Does anything like this exist in Velocity?
>

Do you mean autoloading of tool classes in the context?

--
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting

Age and treachery will always triumph over youth and talent


--
To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:velocity-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message