Welcome to Software Ninja blog - your ultimate destination for mastering software development and data manipulation. Explore cutting-edge techniques and expert tips to sharpen your coding skills and become a data virtuoso. Let's embark on a journey of discovery together!
Friday, February 11, 2011
Validate error missing in portlet render phase - Spring Community Forums
Validate error missing in portlet render phase - Spring Community Forums
I fought this for a couple of days before coming across this article. The issue is a simple one: errors that were added to the bindingResult either with a validator or with the rejectValue call were not showing up in the JSP form:errors tags.
The solution is to add the ModelAttribute for the form command object to the SessionAttributes so it survives from the action phase to the render phase.
Subscribe to:
Post Comments (Atom)
1 comment:
This is a great tutorial it helped me bridge the gap between the exames in land-of-lisp , which provide insight into clojures philosophy , while also demonstrating the fact that Clojure is meant to be a practical, next generation variant of Lisp - this distinction is important when you want to leverage clojure to build practical apps
Post a Comment