Re: how to skip an item in a list
Denis Bredelet <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
> If I am looping through items, how can I do a 'continue' like: > > <#list options as option> > > if option.name == "abc" > continue > > </#list> > > Is this possible? No. Can you put the filtering in the list options itself? Otherwise simply use: <#if option.name != "abc"> use option here </#if> -- Denis. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user