Answers for "thymeleaf, checking if context variable exists"

0

thymeleaf, checking if context variable exists

<div th:if="${currentUser}">
    <h3>Name:</h3><h3 th:text="${currentUser.id}"></h3>
    <h3>Name:</h3><h3 th:text="${currentUser.username}"></h3>
</div>
Posted by: Guest on May-08-2020

Code answers related to "thymeleaf, checking if context variable exists"

Browse Popular Code Answers by Language