• 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: EOEditingContext Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOEditingContext Question


  • Subject: Re: EOEditingContext Question
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 24 Dec 2004 15:24:18 -0800

Once again I have no idea what you are doing.  :-)

If the main form/window and the popups all have the same editing context
(and they should IMHO), then there is no need to save.  If the editing
context in the first popup is a child of the editing context in the main
page and the editing context in the second popup is a child of the ec in
the first popup then you can save to get updates without making it
permanent.  Seems like a lot of work that is probably not justified to me.
If all three are peer editing contexts, well, you have a mess on your
hands!  :-P

Merry Christmas!

Chuck



At 01:44 PM 24/12/2004 -0600, James Cicenia wrote:
>Hello -
>
>I have a popup window that has a couple of lists in it.
>I have a popup from that one where a user selects a template
>that is supposed to override the previous list with the new lists
>from the template.
>
>Everything works great if I ec.saveChanges() and then
>ec.invalidateAllObjects(). However, I don't want to save changes
>as I want to give the user one last chance to undo what they just
>did. I just can't figure out how to refresh the page so that it shows
>the new values without saving them first.
>
>Am I missing an ec method somewhere which refreshes from the
>cache? Is it supposed to do it automatically?
>
>Thanks again,
>James Cicenia
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
e.net
>
>This email sent to email@hidden
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
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: 
 >EOEditingContext Question (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 1, Issue 162
  • Next by Date: Re: EOEditingContext Question
  • Previous by thread: EOEditingContext Question
  • Next by thread: Re: EOEditingContext Question
  • Index(es):
    • Date
    • Thread