actionName
Purpose
Returns the name of the currently executing action.Examples
class BookController {
def list() {
log.info "Executing action $actionName" render(view: actionName)
}
}
(Quick Reference)
actionNamePurposeReturns the name of the currently executing action.Examplesclass 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 |