class Author { String name static constraints = { name(blank:false) } }
2. Implement dynamic scaffolding for the domain class.
class AuthorController { def scaffold = Author }
3. Try to persist an object that violates the constraints. Instead of getting a validation error, the system displays...
HTTP ERROR: 404 /WEB-INF/grails-app/views/author/create.jsp RequestURI=/library/author/save Powered by Jetty://
Note: If you use static (i.e., generated) scaffolding instead, the constraints function correctly.