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
A collection of articles and resources of interest to the modern software developer
Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do.
-- Steve Jobs
Thursday, July 7, 2011
2Paths » Blog Archive » one-to-many relationships in Grails forms
2Paths » Blog Archive » one-to-many relationships in Grails forms
Labels:
Grails
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment