Dynamic Methods Reference
Grails uses special features of Groovy to provide dynamic methods and properties that are accessible from your classes without you defining them or inheriting from a base class.
This is extremely convenient and contributes to having far less "code noise" in your applications.
The dynamic features available vary depending on the type of class you are calling from.
Controllers / TagLibs
In addition to those present on all artifacts, controllers and tag libs support the following:
Common properties (available to controllers and tag libs)
- flash
- grailsApplication
- grailsAttributes
- params
- pluginContextPath
- request
- response
- servletContext
- session
Controller properties
- actionUri
- actionName
- chainModel
- controllerUri
- controllerName
- errors
- modelAndView

