fmx:list

fmx:list can be used as a dedicated XML element or as an attribute. It's essentially used to replicate an XML element using list elements.

Options

Dedicated XML element

<ul>
  <fmx:list fmx:value="model.mylist" fmx:it="iterator">
    <li>${iterator.name!}</li>
  </fmx:list>
</ul>
<ul>
  [#list model.mylist as iterator]
    <li>${iterator.name!}</li>
  [/#list]
</ul>

As an attribute

<ul>
  <li fmx:list="model.mylist" fmx:it="iterator">${iterator.name!}</li>
</ul>
[#if model.myTitle?has_content]
  <p>The following title has been configured: ${model.myTitle}</p>
[/#if]