Skip to content

Instantly share code, notes, and snippets.

@dstarh
Created September 13, 2012 13:55
Show Gist options
  • Select an option

  • Save dstarh/3714473 to your computer and use it in GitHub Desktop.

Select an option

Save dstarh/3714473 to your computer and use it in GitHub Desktop.
thymeleaf th:attr
<tr th:each="obj : ${objects}" th:fragment="row" th:attr="data-obj-id=${obj.id}">
<td th:attr="data-obj-id=${obj.id}" th:text="${obj.id}> </td>
</tr>
@lakbir

lakbir commented Feb 4, 2018

Copy link
Copy Markdown

ça marche merciiiiiiiii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment