calling macros with variable number of parameters
aburgel <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
hi,
i have an issue that i can't figure out. i'm not even sure if its possible
to accomplish.
i have 2 macros:
<#macro one x paramsA...>
# do stuff
</#macro>
<#macro two y paramsB...>
<@one x=y paramsA=paramsB />
</#macro>
i would like to pass the variable number of parameters from macro 'two' to
macro 'one'. but i can't quite figure out the syntax of it.
if i do it as above then paramsA will contain a hash { paramsA -> paramsB},
which is not what i want. i want paramsA == paramsB.
is there a way to do this?
thanks.
--alex
--
View this message in context: http://www.nabble.com/calling-macros-with-variable-number-of-parameters-tp16452212p16452212.html
Sent from the freemarker-user mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace