Description
Here's the trivial example,
#blockmacro(html $style)
<html style="$style">
${yield}
</html>
#end
Block Macro Result
#html("color:red")
<body>Raghu</body>
#end
Full discussion on thread: http://tinyurl.com/ytq3k4
Attachments
Attachments
Issue Links
- duplicates
-
VELOCITY-558 Allow macros that act as blockDirectives
-
- Resolved
-
- is blocked by
-
VELOCITY-174 For consideration: #define()...#end directive to define a block of VTL as a reference
-
- Resolved
-