title: Setting Template FreeMarker for mapList inside a List
body: <p>i have data-Model like this,</p>
  
  <pre><code>contentList = [ 
         { "Product" : "Book", "Qty" : 10  },
         { "Product" : "Pencil", "Qty" : 10  }
  ]
  </code></pre>
  
  <p>and i want to display it in template like this</p>
  
  <pre><code>     PRODUCT                      QUANTITY
     1.  Book                            10
     2.  Pencil                          10
  </code></pre>
  
  <p>when i use this code, </p>
  
  <pre><code>&lt;#list contentList as content&gt;
     &lt;#assign i = 1&gt;
        &lt;#list content?keys as key&gt;                     
           ${key}: ${content[key]}  
         &lt;#assign i = i + 1&gt;
     &lt;/#list&gt; 
  &lt;/#list&gt;  
  </code></pre>
  
  <p>the result is like this.</p>
  
  <pre><code>1.  Book
  2.  10
  1.  Pencil
  2.  10
  </code></pre>
  
  <p>i use this link to test it, <a href="https://try.freemarker.apache.org/" rel="nofollow noreferrer">https://try.freemarker.apache.org/</a></p>