如何使用嵌套值添加表

时间:2016-05-20 12:02:50

标签: thymeleaf

我想使用thymeleaf显示terms属性。我试过像

<table>
    <tr th:each="term: ${contractMap.contractTerms}">
        <td><table>
            <tr th:each="termRow: ${term.rows}">
                  <td><table>
                  <tr th:each="atr: ${termRow.attributes}">
                         <td th:text="${atr.value}"></td>
                  </tr ></table>
                  </td>
            </tr>
          </table>
        </td>
    </tr>
</table>

但它没有用。

0 个答案:

没有答案
相关问题