InstallationTo install the include plugin run the following command
grails install-plugin include
UsageThis plugin provides one tag, to include urls(to actions or static resources) or controllers/actions.The called controllers wouldn't change any line of code, the changes should be at views and templates only.
include tagWith 0.3 version you need only this tag, includeUrl and includeController were deprecated.With url attribute is possible include urls mapped to actions, views and static resources(on web-app directory).
The controller attribute is the recommended way to include actions, because is less likely to change a controller or an action name than an url. The optional attributes are action and params, without action is called index action by convention.
<inc:include controller="user" action="list" params="[param1:'value1',param2:'value2']"/>