• 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: How shall I...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How shall I...?


  • Subject: Re: How shall I...?
  • From: Art Isbell <email@hidden>
  • Date: Fri, 3 Jan 2003 12:03:11 -1000

On Friday, January 3, 2003, at 11:12  AM, Ricardo Strausz wrote:

Kedves Kolegak!

Whatever you say :-)

I am tring to figure out how shall i create and connect (inside Interface Builder) the DisplayGroups of a 3-level relation > one-to-many:
A<-->>B<-->>C


I had try many different approches, but always ending with an unusable project.

I think that the model most be fine becouse it works inside D2J as it should.

I have never built a JavaClient app, so I don't know the issues involved. But I have built OPENSTEP/EOF apps using IB and display groups. I don't know what problems you're having, but maybe you need to connect the display groups with master-peer rather than master-detail associations (assuming this choice still exists :-) If I recall, master-detail associations fetch through their parent display group. I don't know whether this would work across 2 relationships.


Also, in order for detail objects to be fetched, the parent display group must have a non-null selected object. So detail B objects are fetched based on the selected A object. But then detail C objects are fetched based on the selected B object. Are you certain that the first B object is automatically selected after it's fetched so that the appropriate C objects can be fetched? This may be something that can be set programmatically but not in IB's Test Interface mode.

You could launch IB from a shell prompt with "-EOAdaptorDebugEnabled YES" as a command-line argument. Then you should see the SQL being generated in Test Interface mode. Maybe that would provide a clue to solving your problem.

Also, as wonderful and amazing as Test Interface mode is, it doesn't work in all cases. Have you actually tried running your JavaClient app?

Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How shall I...?
      • From: Ricardo Strausz <email@hidden>
References: 
 >How shall I...? (From: Ricardo Strausz <email@hidden>)

  • Prev by Date: How shall I...?
  • Next by Date: Re: How shall I...?
  • Previous by thread: How shall I...?
  • Next by thread: Re: How shall I...?
  • Index(es):
    • Date
    • Thread