actionName
Purpose
Returns the name of the currently executing actionExamples
class BookController {
def list() {
log.info "Executing action $actionName" render(view: actionName)
}
}
(Quick Reference)
actionNamePurposeReturns the name of the currently executing actionExamplesclass BookController {
def list() {
log.info "Executing action $actionName" render(view: actionName)
}
} DescriptionReturns the name of the currently executing action which is dictated by the URL mappings |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |