Grails

Provide easy way to get current controller and action names from within the view

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.3
  • Fix Version/s: 1.2-M2
  • Labels:
    None

Description

I would like to be able to use ${controller} and ${action} from within any *.gsp view and have it give the correct values for what is being displayed.

Activity

Hide
Graeme Rocher added a comment -

This is available with actionName and controllerName

Show
Graeme Rocher added a comment - This is available with actionName and controllerName

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: