The velocity-user mailing list would be more appropriate for this question. Dynamic evaluation of directives/macro names is not supported AFAIK (its a bit perl-ish which always stirs up conversation on the velocity lists).
On Fri, Feb 15, 2002 at 10:49:30AM +0100, Gunter Miessbrandt wrote: > Is it possible to dynamical call a velocity macro? > > For example: > > #macro(a) > #end > > #set($macro = "a") > > #$macro() ## this should call the macro #a() -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
