Discussions
Splitting Transaction Item Options using FreeMarker
Hi,
We're implementing our own PDF templates using Adv. Templates, everything works great except for how ${item.options} is displayed. Our options list is quite large so essentially prints as an extremely long string, which causes our table to well.. self combust.
<code>
<#list record.items as item>
<span>${item.options}</span>
</#list>
</code>
What I would really like to do is split out each option then place them in a table, this way I can control the dimensions and impact on the page. However I don't know how to split them, I've tried sequences and even <#list item.options?keys as x> all to no avail.