Forum Discussion
PaoloT
12 years agoLithium Alumni (Retired)
Hi James,
not sure if your syntax is correct. Have a look at the Freemarker Manual page - they have an example:
#Example: Macro with parameters:
<#macro test foo bar baaz>
Test text, and the params: ${foo}, ${bar}, ${baaz}
</#macro>
<#-- call the macro: -->
<@test foo="a" bar="b" baaz=5*5-2/>
Hope that helps,
Sign in to react to this post