how to bind/update Whole InstanceList in Controller ?
0 down vote favorite
I am new bie in grails and i have following query.
1-Parent Domain Class has a boolean transient property "isValid".
2-Child Domain has a boolean property "isValid".
3-Parent/list.gsp allow users to alter isValid property of Parent Instance in ParentInstanceList, over an update function in ParentController, which i can further use to set each Parents children's property "isValid".
Query: how can i track down which parentInstance's property "isValid" is not checked/unchecked that i can easily set parent's children property "isvalid" .
def parentInstanceList = params.parentInstanceList
Parent parent = it
Child child = it
So far i am able to retrieve ids of all parents over params.parentInstanceList but i can not figure it out how can i bind changed properties of each parentInstance. if there is a single parentInstance then one can easily do it