On Mon, Nov 2, 2009 at 3:10 PM, Jason Durham <[email protected]> wrote:
> My > validation mechanism occurs once the Transfer Object has been populated. I > don't want the (potentially) invalid form data to dirty the cache until it > has been validated. Perfectly reasonable. I just didn't follow your logic before. Ah nuts.... I have a m2m between Company and Address (with a Join table). > Thus, Address isn't directly aware of Company. My Address gets inserted but > the join table doesn't get updated. What's the recommended way of handling > this? Should my Decorator override the save() method in order to update the > Join table... or will Transfer maintain the Join table if access the Address > through the Company? > Depends on your configuration, but probably, yes, if the many-to-many is set on the Company. I think if you go through the docs on Managing Relationships, you'll see how to set this up. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
