How to use “map.get(key)” in Thymeleaf – Broadleaf Ecom
Using ${map.get(key)} (where key is a variable) works for me. ${map[‘key’]} only seems to work for String literal keys — if the key you’re looking up is a variable then ${map[key]} doesn’t seem to work. Accessing Map entries given a list of keys Here’s a full example, looking up items in a HashMap map given … Read more