작성
·
655
0
안녕하세요
#fields.hasGlobalErrors() 는 글로벌 에러에 접근한다고 이해했습니다.
그런데 th:object를 빼니까 글로벌 오류에 접근하기 위한 상수 global에 접근을 못하더라구요??
아래처럼 오류가 발생합니다.
Could not bind form errors using expression "global". Please check this expression is being executed inside the adequate context (e.g. a <form> with a th:object attribute)
공식문서를 읽어봐도 딱히 이유를 못찾아서 질문드립니다!