[
https://issues.apache.org/jira/browse/VELOCITY-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665597#action_12665597
]
Nathan Bubna commented on VELOCITY-672:
---------------------------------------
I'm with Jarkko. Little benefit, possible conflict with macros named #for.
Willing to reconsider for 2.0 version, but rather apathetic.
> add '#for' as a synonym for '#foreach'
> --------------------------------------
>
> Key: VELOCITY-672
> URL: https://issues.apache.org/jira/browse/VELOCITY-672
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Reporter: Byron Foster
> Priority: Minor
> Fix For: 1.7
>
>
> Add 'for' as a synonym for 'foreach' such as:
> #for ($order in $orders)
> $order.price
> #end
--
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: [email protected]
For additional commands, e-mail: [email protected]