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

Claude Brisson resolved VELOCITY-903.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1

Done in commit 1843869.

 

> Empty loops handling with #foreach() ... #else nothing #end
> -----------------------------------------------------------
>
>                 Key: VELOCITY-903
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-903
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>            Reporter: Claude Brisson
>            Assignee: Claude Brisson
>            Priority: Major
>             Fix For: 2.1
>
>
> Empty loops handling via #else for #foreach:
> {{#foreach($name in $people)}}
> {{$name is here}}
> {{#else}}
> {{nobody here}}
> {{#end}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to