I\'ve created a FreeMarker sequence in my template:
<#assign x = [\"red\", 16, \"blue\", \"cyan\"]>
How do I add additional values to the
Laurent's answer is correct and perfectly acceptable. But you can also add a value using shorthand:
<#assign x += ["green"]>
Now the sequence will look like:
Sequence (5) 0 = "red" (String) 1 = 16 (BigDecimal) 2 = "blue" (String) 3 = "cyan" (String) 4 = "green" (String)