• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERModernDirectToWeb and ERXEditingContextDelegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERModernDirectToWeb and ERXEditingContextDelegate


  • Subject: Re: ERModernDirectToWeb and ERXEditingContextDelegate
  • From: Tim Worman <email@hidden>
  • Date: Wed, 25 Apr 2012 12:32:15 -0700

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 question as well - D2W does behave differently with regard to this.

Tim

On Apr 25, 2012, at 4:53 AM, Philippe Rabier <email@hidden> 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@hidden> 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@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >ERModernDirectToWeb and ERXEditingContextDelegate (From: Tim Worman <email@hidden>)
 >Re: ERModernDirectToWeb and ERXEditingContextDelegate (From: Philippe Rabier <email@hidden>)

  • Prev by Date: Re: force D2W query pages to use "contains" operator
  • Next by Date: Re: Model dependencies
  • Previous by thread: Re: ERModernDirectToWeb and ERXEditingContextDelegate
  • Next by thread: Problem with download link in 'appendToResponse'
  • Index(es):
    • Date
    • Thread