I\'m migrating a Spring jsp application to Thymeleaf but having problems displaying form errors.
I\'m using the SpringTemplateEngine and ThymeleafViewResolver and re
This is how I do it in my forms:
For displaying all errors I put this at the beginning of my form:
and for individual error I add this after the field (of course, changing field in hasErrors to correspond to the field tested):
Incorrect LP
Let me know if this works for you?