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/09/04 08:36:44 UTC
[jira] Updated: (VELOCITY-510) Overload Macros
[ https://issues.apache.org/jira/browse/VELOCITY-510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Bubna updated VELOCITY-510:
----------------------------------
Fix Version/s: 2.0
Issue Type: Wish (was: Improvement)
There's no way we would ever have overloading by type, as VTL is nearly typeless.
Overloading by number of arguments may take some pretty drastic changes. I don't see this happening in a 1.x timeline.
> 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.0
>
>
> 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.
-
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