velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: Defining velocimacro in java class
Date Mon, 31 Jul 2006 06:33:06 GMT
Unfortunately, this does not work properly in most cases (due to
macros having a page, not a request scope).

WILL

On 7/30/06, Santosh Puranshettiwar <santosh@wirkle.com> wrote:
> I have a related question.
> Is it possible to define a macro in some other file and use it by
> #include(ing) it?
>
> Santosh.
> Maxim Gordienko wrote:
> > Hello!
> >
> > Is it possible to define Velocimacro in java class (implementing some
> > interface, extending some base class etc.), somehow register it in
> > context and use it just like macro defined inline or in macros
> > library?
> >
> > Thank you.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>


-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

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


Mime
View raw message