velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Scott Stevens <...@latchkey.com>
Subject Re: Velocity vmlibs
Date Fri, 17 May 2002 03:38:49 GMT
on 5/16/02 7:10 PM, "Terry Steichen" <terry@net-frame.com> wrote:

> Jon,
> 
> I don't know enough about JSP to know exactly how to do what you're
> suggesting - but it sounds pretty interesting.  Would you mind humoring me
> with couple more exmaples to help illustrate this (potentially fascinating)
> approach?
> 
> Regards,
> 
> Terry

With Velocity, you put java.lang.Object's into the Context.

Given that a taglib is simply a java.lang.Object, you simply instantiate it
and put it into the context. You can then call on its methods from within
the Velocity template.

I'm not quite sure what else you are asking for. This is pretty simple
stuff.

-jon


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


Mime
View raw message