I am in the final stages of getting this beast converted to wonder. I am using mostly best practices and this whole logging/audit would be great to learn and use.
Are there any docs/screencasts on CoreBusinessLogic? Thanks James On Apr 25, 2012, at 10:32 AM, Ramsey Gurley wrote: > At the mention of ERCStampedEnterpriseObject, I thought I'd mention > ERCAuditTrail stuff. ERCAuditTrailHandler sets up a listener on > ERXEC.EditingContextWillSaveChangesNotification. That way there are no > modifications to the Entity classes and it happens automagically just by > setting an ERXAuditKeys entry in the Entity's userInfo dictionary. > ERCStamped requires that you subclass it AFAIK > > > On Apr 25, 2012, at 4:53 AM, Philippe Rabier wrote: > >> Hi Tim (again) >> >> I suspect you don't set your delegate correctly in your EC factory. It's >> quite easy to trace when your app is running. >> >> You can also use ERCStampedEnterpriseObject that handles the created and >> lastModified attributes for you. >> http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/corebusinesslogic/ERCStampedEnterpriseObject.html >> >> Philippe >> >> >> Sent from my iPhone >> >> On 25 avr. 2012, at 10:54, Tim Worman <[email protected]> wrote: >> >>> Another D2W issue tonight - >>> >>> I have an editingContextDelegate declared in my ERModern Application. The >>> purpose of the ERXEditingContextDelegate is to update the modifyDate >>> attribute of any EO that gets saved to my database. This works great in all >>> of my apps except for the ERModern app. Is this expected behavior in D2W >>> and maybe I should find another way to handle it? >>> >>> Thanks in advance for any tips. >>> >>> Tim Worman >>> UCLA GSEIS >>> _______________________________________________ >>> 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/prabier%40me.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/ramseygurley%40gmail.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/james%40jimijon.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]
