how to use multiple sequence in the same #list element

eharibabu <[email protected]> Sat, 30 Apr 2016 03:09:50 -0700 (PDT)
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I have the two sequences as follows:
cars = 'audi', 'mercedez', 'ferrari'
fruits = 'apple', 'grapes', 'banana'

using #list, I would like the output to be printed as follows:

audi
apple

mercedes
grapes

ferrari
banana

I have tried using the following template, but it is throwing error:

<#list cars as i, fruits as j>
${i}
${j}
</#list>

basically,my question is how can I use multiple sequences in the same #list



--
View this message in context: http://freemarker.624813.n4.nabble.com/how-to-use-multiple-sequence-in-the-same-list-element-tp4655622.html
Sent from the freemarker-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z