Can a grails controller extend from a base class? How to make it so grails doesn't blow up?
- by egervari
I wrote a base class to help build my controllers more quickly and to remove duplication. It provides some helper methods, default actions and some meta programming to make these things easier to build.
One of those methods in the base class is like this:
def dynamicList(Class clazz) {
def model = new LinkedHashMap()
…