In my company's codebase I'm seeing pageScope.actionName
being used. Is it safe to droppageScope
?
Update:
I am interested in knowing whether actionName is a late addition to the framework that makes pageScope.actionName
obsolete.
Update 2:
Here is how it is used in one taglib:
def url = "/${pageScope.controllerName}/${attrs.action}"
pageScope. As for the usage in your company code, I guess it depends on how long ago it was written. Referring to docs in 2010 like: grails_pagescope_variable_in_gsps_and_taglibraries and overriding-plugin-templates-in-grails-application there are a few more around people were using it then, can't comment on if it was essential back then.