Here’s a scenario we see fairly often in our Grails applications.
- Parent object has a collection of Child objects
- We want the Parent’s create and edit GSPs to allow us to add/remove/update associated Child objects
- The controller should correctly persist changes to the collection of Child objects, including maintaining Child object ids so any other objects referencing them don’t get screwed up
No comments:
Post a Comment