velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Papotti" <>
Subject velocimacro as parameter
Date Fri, 05 Oct 2001 10:18:23 GMT
can I define something like:

#macro (bold $text)

#macro (center $what)
<p align="center"> $what </p>

and then use

#center( #bold( "Hello world") )


#center( "#bold( "Hello world")" )

or something similar?

I.E. Is it possible to use a valocimacro as parameter of another one?

Andrea. =8-)

View raw message