Thursday, January 1, 2015

How to inline expression in Thymeleaf

To inline expression in Thymeleaf,

you can do it as follows:

<p th:inline="text" style="font-size: 11px; color: gray">
    [[${link.createdTime}]] [[${link.sharerUsername}]]
</p>

Reference:
http://www.thymeleaf.org/doc/usingthymeleaf.html

No comments:

Post a Comment