Render the keys and values from a map in Freemarker

Render the values of a Map The following code snippet shows how to get the values of a Map (e.g. HashMap) from within a Freemarker template. <#assign m = myMap> <#assign values = m?values> <ul> <#list values as myObject> <li>${myObject.myPropery}</li> </#list> </ul> Render the keys of a Map You can do a similar thing with […]

Read More…