If this attribute's value is text, then you can use the [[...]] syntax to put expressions within your text without having to use the th:text attribute processor, eg:
<p th:inline="text">Hello [[${session.user.name}]]!<p>
If this attribute's value is javascript or dart, and used in a <script> tag, then you can insert expressions directly into your JavaScript/Dart code with the /*[[...]]*/, /*[+...+]*/, and /*[-...-]*/ syntaxes. @author Daniel Fernández @since 1.0
|
|