How to get search results in grails if you have the domain (model) name stored in a string
- by Shekhar
I have a method which has domain name as a String parameter.
def modelName="Equity"
I want to use it like
def results=modelName.findAll()
Please guide me!