×

Please give details of the problem

Skip to content

How to create a list from an array

1
2
3
4
5
<#assign my_list = []>  
<#list myarray.idville as x>  
<#assign my_list = my_list + [{"label":x,"value":x}]>  
<!--#list-->  
${my_list}