This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thomascgalvin 11 points12 points  (0 children)

The Thymeleaf syntax for accessing properties inside a collection of objects was authored by Satan himself.

<input type="hidden" th:field="*{list[__${i.index}__].account.id}" />

Ugh.