Re: Refreshing objects
Re: Refreshing objects
- Subject: Re: Refreshing objects
- From: Nathan Dumar <email@hidden>
- Date: Wed, 12 May 2004 09:45:41 -0400
In a different situation, I've had great success by not using
this.session().defaultEditingContext()
Instead, create a new editing context, then after saving changes, do
ec.dispose()
(maybe in the functions that go to other pages).
Nathan
On May 12, 2004, at 8:17 AM, David Griffith wrote:
I have tried various methods as described in the documentation but I
can9t
seem to get the modified objects and their relationships (those that
are
currently registered with the default editing context in Application
1) to
refresh, no matter what I do.
If I shut down the application and re-launch it, of course all the
data is
fresh.
Can you someone give me some sample code which demonstrates the normal
way
to refresh these objects?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.