• 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: displaygroup and relationship faulting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaygroup and relationship faulting


  • Subject: Re: displaygroup and relationship faulting
  • From: Alexander Spohr <email@hidden>
  • Date: Sun, 5 Aug 2007 00:43:39 +0200

Jacob,

EOF _does_ fetch any relationship automatic - no matter how you access your EOs relationship.

There must be an error in your EOModel, your EOs or somewhere else.

	atze


Am 04.08.2007 um 21:38 schrieb Jacob Mouka:

Hi List... I'm wondering about EOs' relationships when they are in a displaygroup. Basically on a page the user clicks to select an EO from a displaygroup, and the selected EO iterates over a to-many relationship to summarize some data, but the problem is the array it gets from it's valueForKey method is empty (com.webobjects.eocontrol._EOCheapCopyMutableArray). I know it's a faulting issue because I can bind the relationship to a worepetition just to display it, and it shows up fine. So my question is how can I get webobjects to fetch the array on a call to valueForKey? I think the old way of doing this would be to call willRead, but that doesn't work.

Also, if the same EO is fetched using a plain old fetchspecification it's relationships are intact, so what does a displaygroup do differently?

Jacob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40freeport.de


This email sent to email@hidden

Freeport & Soliversum Alexander Spohr email@hidden www.freeport.de


_______________________________________________ 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: displaygroup and relationship faulting
      • From: Jacob Mouka <email@hidden>
References: 
 >displaygroup and relationship faulting (From: Jacob Mouka <email@hidden>)

  • Prev by Date: displaygroup and relationship faulting
  • Next by Date: Newbie - WOHyperlink vs WOImageButton in D2W MenuHeader.wo template
  • Previous by thread: displaygroup and relationship faulting
  • Next by thread: Re: displaygroup and relationship faulting
  • Index(es):
    • Date
    • Thread