Creating generic control to manage generic messages. Upgrade to grails 2.2