Grails domain obj action argument and association data binding
问题 I know Grails v2.3 introduced some changes to the way data binding works, but I'm struggling to figure out how to get automatic association binding to work when I have an domain obj as the action argument. For instance, with a couple of simple domain objects: class Author { String name List books static hasMany = [books: Book] } class Book { String name static belongsTo = [author: Author] } and controller action: def doSomething(Author a) { // only simple properties appear to be bound at this