(Quick Reference)

actionName

Purpose

Returns the name of the currently executing action

Examples

class ExamplesTagLib {

    def showActionName = { attrs, body ->
        out << "Executing action: ${actionName}"
    }

}
<g:showActionName />

Description

Returns the name of the currently executing action which is dictated by the URL mappings