I would like to have diferent views of a webpage depending on certains attributes of an item that I am showing.
This is: if the item is in the category X then I show some sections of the page. In other category I show others.
There is others attributes of the item.
I am aware of the multitenant plugin, but I think that is not what I am looking for.
I am thinking of something that maps a hierarchy of attributes with a particular grails view or layout. Maybe obtaining the name of the layout and view concatening the attributes some how to respect convention over configuration.
But I am concern in maintainability.
Can you give me any pointer?