I have a class:
class Category { String name SortedSet items static hasMany = [items:Item] }
Inside the controller, I present the category as XML (converters):
def getCategory = { render Category.read(1) as XML }
But I want to exclude elements from rendering.
How can i do this?
thanks
source share