velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Abade V. Leite" <igor...@cosespseguros.com.br>
Subject Optional parameters in Velocimacro
Date Tue, 16 Jul 2002 13:13:29 GMT
Is there a way to define optional parameters in a Velocimacro?
For instance, given the following macro:

#macro ( myMacro $param1 $param2 $param3 )
    (some content)
#end

Can I do something like the snippet below?

#myMacro('Val1', , 'Val3')

Thanks,
	Igor



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


Mime
View raw message