eharibabu
2016-04-30 10:09:50 UTC
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.
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.