• 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
Question on editing contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on editing contexts


  • Subject: Question on editing contexts
  • From: Steve Sharman <email@hidden>
  • Date: Tue, 20 Jul 2004 23:51:57 +0100

Hi,

I've got what is probably quite a naive question on editing contexts.

If an object A in my application automatically fetches an object B through a relationship (e.g. if A is Organisation, and B is Rooms, and there is a relationship A <-->> B, and I display a page which shows all the rooms for an organisation in a table within a WORepetition), are all of the B objects fetched automatically inserted into an editing context (the default one, I guess)?

If so, can I make changes to one of the retrieved B objects using it's methods and save these changes by saving changes on the defaultEditingContext, or if not, do I have to explicitly insert the B that I want to change into the default editing context and then save it?

Thanks for any enlightenment that anyone can bring!

Best regards,

-- Steve
_______________________________________________
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: Question on editing contexts
      • From: Francis Labrie <email@hidden>
    • Re: Question on editing contexts
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Duplicate record
  • Next by Date: Re: Duplicate record
  • Previous by thread: Re: Duplicate record
  • Next by thread: Re: Question on editing contexts
  • Index(es):
    • Date
    • Thread