You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2008/08/22 05:34:46 UTC

[jira] Updated: (VELOCITY-583) BlockMacro support

     [ https://issues.apache.org/jira/browse/VELOCITY-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna updated VELOCITY-583:
----------------------------------

    Fix Version/s:     (was: 1.6)

With the addition of #define and the complications involved in this, this probably won't happen in 1.6. 

> BlockMacro support
> ------------------
>
>                 Key: VELOCITY-583
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-583
>             Project: Velocity
>          Issue Type: New Feature
>          Components: Engine
>            Reporter: Raghu Rajah
>         Attachments: blockmacro.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org