This is in the API for ERXGenericRecord. Have you tried it? changesFromCommittedSnapshot
public NSDictionary<String,Object> changesFromCommittedSnapshot() Description copied from interface: ERXEnterpriseObject Computes the current set of changes that this object has from the currently committed snapshot. Specified by: changesFromCommittedSnapshot in interface ERXEnterpriseObject Returns: a dictionary holding the changed values from the currently committed snapshot. Tim UCLA GSE&IS On Jul 28, 2012, at 7:36 PM, Theodore Petrosky <[email protected]> wrote: > Are you thinking that in the willUpdate() method I should have access to the > attributes before they are changed? > > or that I should do something in this method because I just tested it with a > log statement and the attributes are already changed. > > this would have been trivial in a regular wonder app. but I am forcing myself > to stay in D2W. > > --- On Sat, 7/28/12, Paul Yu <[email protected]> wrote: > >> From: Paul Yu <[email protected]> >> Subject: Re: didUpdate? >> To: "Theodore Petrosky" <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Date: Saturday, July 28, 2012, 10:06 PM >> willUpdate()? >> >> Sent from my iPad >> >> On Jul 28, 2012, at 9:03 PM, Theodore Petrosky <[email protected]> >> wrote: >> >>> So, I got my D2W app sending email when I update or >> create a new object by overriding didUpdate in the EO. >>> >>> basically, my email says "This record has been updated" >> and here are the attributes. >>> >>> How can I get a copy of the original. I mean, I want >> the email to say: >>> >>> here is the old title: Big title. >>> Here is the new title: New title. >>> >>> Where can I get a copy of the EO before it gets >> updated? >>> >>> Ted >>> _______________________________________________ >>> Do not post admin requests to the list. They will be >> ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com >>> >>> This email sent to [email protected] >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
