5.2.2 MVCGroups and Configuration - Reference Documentation
Authors: Andres Almiray
Version: 1.2.0
5.2.2 MVCGroups and Configuration
Now that you know there are several ways to instantiate MVC groups we can go back to customizing them.The simples way is to pass in new values as part of the arguments map that mvcGroupInit receives, for exampledef group = app.mvcGroupManager.buildMVCGroup('foo', [key: 'foo'])
config
key that every MVC group configuration may have then you must instantiate the group in the following waydef configuration = app.mvcGroupManager.cloneMVCConfiguration('foo', [key: 'someValue']) def group = configuration.create()
create()
method.