• 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: Correction to: using relations in repetitions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Correction to: using relations in repetitions (From: Wolfram Stebel <email@hidden>)

  • Prev by Date: Re: WebServices' WSDL with Undesired Host?
  • Next by Date: Re: Help with stack trace from frozen application
  • Previous by thread: Correction to: using relations in repetitions
  • Next by thread: Deleting a lookup type object...
  • Index(es):
    • Date
    • Thread