Re: different EC for WODisplayGroup?
Re: different EC for WODisplayGroup?
- Subject: Re: different EC for WODisplayGroup?
- From: Nathan Dumar <email@hidden>
- Date: Thu, 4 Nov 2004 13:39:52 -0500
Oh ... I hadn't thought of that. Thanks.
My understanding of strong and weak references is foggy. Would you
mind explaining what each one means? How can you tell when a reference
is strong or weak? (I didn't see anything along these lines in
Practical WO, but if it's in there, just refer me to where.)
I also found a better description under Legacy Technologies, at Apple:
http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/
WebObjects_5/Topics/ProgrammingTopics.15.html
This gives me the understanding I need to do it. I should have looked
a little harder before asking.
Being a former IT technical writer, I don't know why they upgrade the
documentation by making it less informative and less useful.
Nathan
On Nov 4, 2004, at 12:32 PM, Chuck Hill wrote:
Probably nothing. The EC does not maintain strong references to the
EOs registered in it. It only maintains strong references to the
inserted/updated/deleted objects that are not yet saved. Just call
ec.revert() and you will have no strong references.
Chuck
On Nov 4, 2004, at 9:11 AM, Nathan Dumar wrote:
Yes, I've read the documentation, but my understanding of the depths
of WO is limited. How complicated is it to use a different editing
context for a display group? I would like to dispose() the EC when
I'm done with it, so I'm not keeping all those EOs around
unnecessarily. What do I need to do?
Thank you,
Nathan
_______________________________________________
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