• 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: Peer ECs in updating EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Peer ECs in updating EO


  • Subject: Re: Peer ECs in updating EO
  • From: Henrique Gomes <email@hidden>
  • Date: Sat, 21 Feb 2009 15:32:21 +0000


On Feb 20, 2009, at 11:13 AM, David LeBer wrote:

I wrote a blog post with an intro to working with multiple ECs: < http://davidleber.net/?p=322>

Two basic rules:
1. You cannot relate EOs in different ECs
2. You cannot move uncommitted EOs between ECs

Thank you for such a clear text.

I'm in the process to change my code to avoid the default EC.
(In my defense the previous projects were mostly read only, very few writes)
Any way, I now face this question: Let's say I have EO's that, for example, relate to a country EO. 
In my app I had the country list preloaded on the session and used it as a WOPopUp list binding with the select key bound to my EO.country.
So to use a peer EC on the edit page, do I have to re-fetch the country list on the new EC? Is there a better way?
Can I leave the "selected" key bound to a var and localInstace() on the setter?

I don't now if I made myself clear....

Henrique Gomes
 _______________________________________________
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

  • Follow-Ups:
    • Re: Peer ECs in updating EO
      • From: David LeBer <email@hidden>
References: 
 >Re: Peer ECs in updating EO (From: "Cheong Hee (Datasonic)" <email@hidden>)
 >Re: Peer ECs in updating EO (From: David LeBer <email@hidden>)

  • Prev by Date: Re: opposite method to objectMatchingKeyAndValue
  • Next by Date: Re: opposite method to objectMatchingKeyAndValue
  • Previous by thread: Re: Peer ECs in updating EO
  • Next by thread: Re: Peer ECs in updating EO
  • Index(es):
    • Date
    • Thread