Thymeleaf html page if validation possible?
how to check this condition in thimeleaf ..
I tried this but did not work
<tr th:each="s : ${patterns}"> <h3><p th:text="${s.questionPattern}" /></h3> <tr th:each="q : ${questions}"> <div th:if="${#s.questionPattern == q.questionPattern.questionPattern}"> <p><input type="text" th:text="${q.questionName}" /></div> </p> </tr> </tr>
I know this is the wrong way
If you know the answer, please share.
source share