I have two EO classes joined in a flattened many-to-many relationship (User <-->> UserGroupJoin <<--> Group). UserGroupJoin is dead-simple -- nothing but foreign keys to User and Group.

I want to log whenever one of the join items is created or removed. The UI for this is a UserEdit page with Group items in checkboxes, and, likewise, a GroupEdit page with User items in checkboxes.

I use a custom EC subclass, so I thought I'd create the log by checking for UserGroupJoin items in insertedObjects() and deletedObjects() during saveChanges(). Well, they never show up there. So then I tried adding logging to UserGroupJoin.awakeFromInsertion(). That isn't called either.

Does anybody know how I can get at this information?

zak.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to