Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Tim Worman
Thanks Philippe. In my standard Wonder apps, I can simply add a getter to my Application class to return my ERXEditiingContextDelegate. What is the method for registering it with EC factory in a D2W app? There's probably some samples in Wonder. I'll poke around. In any case, that does answer my

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread James Cicenia
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 me

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Ramsey Gurley
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 ERXAudit

Re: ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Philippe Rabier
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/ja

ERModernDirectToWeb and ERXEditingContextDelegate

2012-04-25 Thread Tim Worman
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