Skip to content

Instantly share code, notes, and snippets.

@dstarh
Created September 13, 2012 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstarh/3714473 to your computer and use it in GitHub Desktop.
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
Copy link

lakbir commented Feb 4, 2018

ça marche merciiiiiiiii

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