scaffolding
Purpose
The scaffolding plug-in sets up Grails' support for CRUD via Scaffolding.Examples
An example of enabling "dynamic" scaffolding:class BookController {
def scaffold = true
}Description
Refer to the section on Scaffolding in the Grails user guide which details how Grails' scaffolding support works.Configured Spring Beans for each scaffolded domain class Book:
BookDomain - An instance the GrailsScaffoldDomain class that knows how to perform the persistence side of CRUD.
BookResponseHandler - An instance the TemplateGeneratingResponseHandler class that generates views at runtime from GSP templates.
BookResponseHandlerFactory - An instance of DefaultGrailsResponseHandlerFactory that is a factory class that returns different ResponseHandler instance, the default is a TemplateGeneratingResponseHandler, but could be customized to return XML, RSS etc. responses.
BookScaffolder - An instance of the DefaultGrailsScaffolder that works at the meta-programming level to enhance controllers for scaffolding.