grails plugin to figure out what type of view to show according to users application