• 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
Fwd: Displaying attributes derived from relationships in D2W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Displaying attributes derived from relationships in D2W


  • Subject: Fwd: Displaying attributes derived from relationships in D2W
  • From: Steve Sharman <email@hidden>
  • Date: Tue, 27 Jan 2004 01:48:24 +0000

I should probably have also mentioned that I'm using 5.2.2, Xcode etc.
on Panther.

Begin forwarded message:

> From: Steve Sharman <email@hidden>
> Date: 27 January 2004 01:45:10 GMT
> To: email@hidden
> Subject: Displaying attributes derived from relationships in D2W
>
> Dear all,
>
> Apologies for boring you with yet another simple question. I'm finding
> learning WebObjects both intensely rewarding, and intensely
> frustrating at the same time
>
> I have two EO entities, Person and EmailAddress. I have a relationship:
>
> Person <-->> EmailAddress
>
> which in Person is called emailAddress. What I want to be able to do
> is to modify the Person List page in D2W in order to display the email
> addresses for the selected Persons in the list. When I start the
> Assistant  to modify the Person List page, I select the "Properties"
> tab, which appears as it is shown in the Apple documentation. I can
> see the +emailAddress relationship in the left hand column. What I'm
> expecting to be able to then do is click on that, and see the
> attributes and relationships of the entity pointed to in the next
> column along - and I don't see this. All I see is what looks like a
> set of functions - +@avg, +@count, and so on. No attributes or
> relationships - although if I click one of these, I can then see the
> attributes and relationships that I would expect - which is fine if I
> want to count them, and not if I want to display them! This is the
> case for to 1-M relationships. 1-1 (or back link of M-1) relationships
> seem to work as advertised.
>
> If I then try entering the relationship manually (I'm guessing my way
> through by this point) by entering emailAddress.pemEmailAddress into
> the "Pick Properties To" text box, I can then click the right arrow to
> insert the property into the Show list. It comes into the list with a
> default association to a "D2WKeyPathContainer". I can change this to
> D2WDisplayString, and if I do the list page displays fine, but with ()
> in the EmailAddress column.
>
> I'm sure that as usual I'm making a silly mistake or misunderstanding
> what I should be doing - can anyone make any suggestions as to what I
> should be looking at?
>
> Many thanks,
>
> -- Steve
_______________________________________________
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: Displaying attributes derived from relationships in D2W
      • From: Denis Stanton <email@hidden>
  • Prev by Date: Displaying attributes derived from relationships in D2W
  • Next by Date: Re: how do I "recompile with deprecation" ?
  • Previous by thread: Displaying attributes derived from relationships in D2W
  • Next by thread: Re: Displaying attributes derived from relationships in D2W
  • Index(es):
    • Date
    • Thread