Newbie question about macros and variables
"krishnan.1000" <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am using FreeMarker (v 2.3.12) for the first time. So I hope that this is
not a stupid question. I am creating a html file using free marker and
dynamic values. Basically what I want to do is this
<#macro showText title data>
<td class = "h1">${title}</td><td>${data}</td>
<#/macro>
I am passing something like this
<@common.showText title="Name" data=${name} header = "h4" />
name is specified in the HashMap root.
Is there something I am doing wrong? Please help me.
--
View this message in context: http://www.nabble.com/Newbie-question-about-macros-and-variables-tp15971676p15971676.html
Sent from the freemarker-user mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/