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

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.


  • Follow-Ups:
    • Re: Refreshing objects
      • From: Arturo Perez <email@hidden>
References: 
 >Refreshing objects (From: David Griffith <email@hidden>)

  • Prev by Date: Re: DatabaseAccess
  • Next by Date: Creating a data-dynamic link in a WORepetition?
  • Previous by thread: Re: Refreshing objects
  • Next by thread: Re: Refreshing objects
  • Index(es):
    • Date
    • Thread