velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <>
Subject Re: Extension repository ?
Date Thu, 03 Jan 2008 22:32:07 GMT
You could easily do this with a "tool" (see VelocityTools). They're
usually easier to write than a custom directive, though those are more
intimidating than they are complicated.  With a tool you could then do
something like $context.required('') (yes,
i'm suggesting you extend the ContextTool).  If you're interested in
more details on how to do this, let me know.  I could outline the
steps for you.

Oh, and if you are loading some of the same data for *all* your
templates, VelocityTools can help there too.

On Jan 2, 2008 5:42 AM, csanders <> wrote:
> Hey all,
> I'm looking for an extension to velocity that has something like a
> #required('') , wich Velocity would parse,
> load and execute this class which would stuff into that templates
> VelocityContext.
> Does something like this exist ?  Is their a contrib/ list or a
> repository for Velocity extensions ?
> Thanks!
> Charlie
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message