• 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 to debug fetch problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug fetch problem


  • Subject: Re: How to debug fetch problem
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 10 Apr 2007 16:17:26 -0700


On Apr 10, 2007, at 3:45 PM, Janine Sisk wrote:

On Apr 10, 2007, at 2:45 PM, Chuck Hill wrote:

OK, now we are getting somewhere. How are you connecting the create PanelImage with the Panel? Are you connecting it? If it is not an owned object you need to tell WO which object it belongs with.

I thought that the relationship in EOModeler did that, but obviously there is more to it.


My primary reference book is Josh Marker's and in his example of this (chapter 7) he defines the relationship between the two entities in EOModeler and then adds a WOToOneRelationship to the display component. This doesn't look like the right solution for me, because it appears that the WOToOneRelationship displays data from the "other" table and that's not what I want to do.

It does much more than that.


He mentions sort of off-hand that this takes care of calling addRelationship for you, which sounds like what I need to do, but so far I haven't found any examples and the doc page isn't terribly helpful (to me, anyway). I'm going to go look at the rest of my books, but pointers would be helpful. Am I at least heading in the right direction? :)

Yes. If a Panel always has a PanelImage, you can make it even easier on yourself by making Panel "owns destination" on the relationship. EOF will create the PanelImage for you (hint - don't create it again yourself) and link them together.


Chuck


--

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


  • Follow-Ups:
    • Re: How to debug fetch problem
      • From: Janine Sisk <email@hidden>
References: 
 >How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Mike Schrag <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)
 >Re: How to debug fetch problem (From: Chuck Hill <email@hidden>)
 >Re: How to debug fetch problem (From: Janine Sisk <email@hidden>)

  • Prev by Date: Re: How to debug fetch problem
  • Next by Date: WebObjects I - Introductory Course, 6/18-6/22 in Seattle, WA
  • Previous by thread: Re: How to debug fetch problem
  • Next by thread: Re: How to debug fetch problem
  • Index(es):
    • Date
    • Thread