0
Problem:
$ {map} kann null sein.Thymoleaf: Bedingt th: Wert
<input type="text" th:value="${map.name}" />
Was ich brauche:
Wenn der Name nicht null ist, th: Wert = name sonst th: value = ""
<input type="text" th:value="${map.name != null ? map.name : ''}" />
Aber mein obiger Code ist nicht gültig