I can not find syntax for building simple for-each-loop in Thymeleaf
template.
I\'m not satisfied with just th:each=\"\"
attribute, because it copi
Use th:block
as stated in the Thymeleaf guide
th:block
is a mere attribute container that allows template developers to specify whichever attributes they want. Thymeleaf will execute these attributes and then simply make the block disappear without a trace.
So it could be useful, for example, when creating iterated tables that require more than one for each element:
...
...
...