Multiple EOEditingContexts
Multiple EOEditingContexts
- Subject: Multiple EOEditingContexts
- From: David Griffith <email@hidden>
- Date: Fri, 05 Mar 2004 00:55:20 +0100
HI,
I have a component which displays among other things a list of
CustDeliveryAddress objects. These are obtained via
customerOrder.customer().custDeliveryAddresses(). This is what the
repetition is based on.
I also have a 2nd editing context which permits me to insert new
CustDeliveryAddress objects without saving the default editing context to
the db just yet.
The problem is, when the new CustDeliveryAddress object is inserted via the
second editing context, and the page refreshes, the default editing context
does not see the new object (or at least it doesn't appear on the page as
part of the list of custDeliveryAddresses().
Do I need to 'refresh' the default editing context in some way, or am I
missing something? The new objects are being stored in the database no
problem and if I stop the application and relaunch it, they appear in the
list fine. It sounds like some small problem but I don't know where to go
next.
Any help is much appreciated.
Regards,
Dave.
_______________________________________________
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.