|
Re: Macros with large input on parameters: msg#00089jakarta.velocity.user
Jeremy said: > I am curious if it is possible to have macros with large input. I'll give a > simple example: > > #macro (block $title $body) > <table class="Block"> > <tr><td class="BlockTitle">$title</td></tr> > <tr><td class="BlockContents">$body</td></tr> > </table> > #end ... > In the $body parameter, I would like to be able to run #foreach ... #end's, > have tables inside of it, etc... ... > Is their a way to accomplish this? and a really quick search of the archives reveals... http://marc.theaimsgroup.com/?l=velocity-user&w=2&r=1&s=block+macro&q= b Nathan Bubna nathan@xxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Macros with large input on parameters: 00089, Jeremy Cowgar |
|---|---|
| Next by Date: | Apache Tomcat/4.1.24 forumdemo/servlet_example1 not working: 00089, Reid Thompson |
| Previous by Thread: | Macros with large input on parametersi: 00089, Jeremy Cowgar |
| Next by Thread: | Re: Macros with large input on parameters: 00089, Jonathan Revusky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |