Written on
·
326
0
<div th:if="${#fields.hasGlobalErrors()}">
<p class="field-error" th:each="err : ${#fields.globalErrors()}"
th:text="${err}">글로벌 오류 메시지</p>
</div>
<form action="item.html" th:action th:object="${item}" method="post">
........
</form>
글로벌 오류 설정할 때 <form>태그 안에서만 가능한 이유와
<form>태그 밖에서 글로벌 오류 메시지를 보여줄 수 있는 방법이 있는지 궁금합니다.