grails/grails-core — pull request #124 by jolros (2011-12-05 21:00:18+00:00)
Title: Fix for issue GRAILS-8216

The bug reporter and I found this issue. It's a distraction in my IDE; Eclipse / STS is giving me validation errors in my GSPs because the Javadoc lists the "bean" attribute as REQUIRED.

This commit removes that requirement for hasErrors() and renderErrors(), both of which do not require the bean attribute to be set, per the "Description" section of the web documentation for both calls. I verified that the underlying implementation supports this.

http://www.grails.org/doc/2.0.0.RC2/ref/Tags/hasErrors.html
http://www.grails.org/doc/2.0.0.RC2/ref/Tags/renderErrors.html