Re: Editing context that dont communicate changes.
Chuck Hill <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Try implementing this too:
editingContextShouldInvalidateObject(EOEditingContext,
EOEnterpriseObject,
EOGlobalID)
I don't know if that will help or not, but worth a try. Otherwise you can
try to create an EOEditingContext sub-class that ignores notifications.
Chuck
At 11:17 AM 05/03/2003 -0300, Ing.Gaston Blanco wrote:
>
>I want that the objets in my Editing Context are never changed
automatically because of a saveChanges() in another editing context of the
same ObjectStoreCoordinator.
>
>How can I make this happend?
>
>What I tryed is creating a Delegate with this two methods:
>
> public boolean editingContextShouldMergeChangesForObject(
> EOEditingContext context, EOEnterpriseObject object)
> {
> System.out.println("Been in should");
> return false;
> }
>
> public void editingContextDidMergeChanges(EOEditingContext context)
> {
> System.out.println("Been in did");
> }
>
>But this doesn't work. It calls this two functions, but it happends the
same that when I didnt had the delegate associated with the editing context.
>
>Thanks
>Ing. Gaston Blanco
>__________________________________________________
>
>Todavía no tenés tu Ciudad Internet Mail? Obtenelo ahora! -
http://webmail.ciudad.com.ar
>
>Descargá Gratis el nuevo Internet Explorer 6.0, el mejor software para
actualizar tu PC.
>http://www.ciudad.com.ar/ar/servicios/ie/
>
>_______________________________________________
>WebObjects-dev mailing list
>[email protected]
>http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
--
Chuck Hill [email protected]
Global Village Consulting Inc. http://www.global-village.net