Re: Correction to: using relations in repetitions
Re: Correction to: using relations in repetitions
- Subject: Re: Correction to: using relations in repetitions
- From: Chuck Hill <email@hidden>
- Date: Thu, 10 Nov 2005 18:13:24 -0500
Hi,
On Nov 10, 2005, at 6:51 AM, Wolfram Stebel wrote:
I have a relation many-to-many (maintained
manually, not a join table)
What do you mean by "maintained manually"?
from A to B, called "Bs".
I have an A in a component already shown.
When i assign the relation "Bs" to the list property of a
repetition, it
does not automatically feetch the values. Instead i have to do an A.Bs
().count () or something else to get the data loaded.
The repetition otherwise does not iterate over the Bs!
This should be working nice and easy, i expect, so please someone
tell me
how to do it properly!
It sounds like the EOArrayFault is not resolving at the right time.
Have you been overriding the generated methods on the B EO? Did you
fail to call super? It sounds to me like willRead() is not getting
called on your EO when the components in the repetition are rendered.
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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