I understand that their maybe  other ways to address this issue, but what
do people think about adding something like the following to Velocity?

#macro(macroWithArgs, $arg1, $arg2)
     ...
#end


#macroWithArgs($arg1):
  #arg2
     VM VTL code
  #end
#end


I think that this allows for greater flexibility in the template lib. model
and in the construction of presentation widgets. The idea is to be able to
be able to do things like pass row definitions to table widgets more easily
(and in-line). I am new to this list so I don't know if this has been
talked about or if there is a better way to do this? What are peoples
thoughts?

Reply via email to