You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Steve O'Hara (Closed) (JIRA)" <de...@velocity.apache.org> on 2011/12/02 10:50:40 UTC

[jira] [Closed] (VELOCITY-510) Overload Macros

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

Steve O'Hara closed VELOCITY-510.
---------------------------------


This functionality is now covered by VELOCITY-697
                
> Overload Macros
> ---------------
>
>                 Key: VELOCITY-510
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-510
>             Project: Velocity
>          Issue Type: Wish
>          Components: Documentation, Engine
>            Reporter: Steve O'Hara
>            Priority: Minor
>             Fix For: 2.x
>
>
> It would be very useful to be able to overload macro definitions with different number of/types of parameters.
> Many, many times there is aneed to slightly tweak an existing macro to give it new capabilities.  Rather than create a new one with a different name, it would make it much neater if you could create a new one with the same name.
> Another way to achieve similar results would be to allow a variable number of parameters.  Although not quite as formal, this would provide a reasonable alternative.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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