Re: displaygroup and relationship faulting
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