Create a table in thymeleaf

Although, it's late answer. It's work more specifically, like

<tr th:each="smokeTest : ${smokeTests}">
   <td><p th:text="${smokeTest.name}"></p></td>
</tr>

Simple solution which comes to mind first:

<th:block th:each="smokeTest : ${smokeTests}">
    <tr>
        <td th:text="${smokeTest.name}">A Smoke Test'</td>
    </tr>
</th:block>

Details: http://www.thymeleaf.org/whatsnew21.html#bloc


You must put th:text as an attribute of a tag, so

<tr th:each="smokeTest : ${smokeTests}">
   <td th:text="${smokeTest.name}">A Smoke Test'</td>
</tr>

should run.