[ https://issues.apache.org/jira/browse/VELOCITY-903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649522#comment-16649522 ]
Claude Brisson commented on VELOCITY-903: ----------------------------------------- For the reference, here is an [old discussion|https://lists.apache.org/thread.html/a51ab779127503e4deb90bbaa053aad2d0e565af293521a5e7cb36bd@1105043554@%3Cdev.velocity.apache.org%3E] about this feature. > 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 > > 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