• 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
Displaying relationship attributes two levels deep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying relationship attributes two levels deep


  • Subject: Displaying relationship attributes two levels deep
  • From: David Holt <email@hidden>
  • Date: Thu, 22 Jul 2004 10:32:57 -0700

I am working through chapter 10 of Ravi Mendis' WebObjects Developer's
Guide. The Home page that is created on pages 168/169 has a display
group based on the "Forum" EO. A forum has one to many topics which in
turn have one to many posts. In the example, the WORepetition "list" is
bound to the forumDisplayGroup.displayedObjects. The "item" is bound to
the key "forum" which is of type "Forum".

In WOBuilder when I select the "forum" key (in the lower left hand side
of the screen) it displays the attributes for name and topics but when
I select "topics", all I see are aggregate variables such as count,
avg, etc. I don't see any further links to "posts". Mendis shows a
screenshot with two WOStrings: one bound to the value for
forum.topics.count and another bound to forum.topics.posts.count. The
posts array is not showing up in WOBuilder and if I type in the binding
as written, it doesn't display the posts count for the topic. That
string also shows the topics count when I load it in a browser. Does
anyone have any idea why that might be? Is what Mendis' screenshots
show even possible? Thanks,

David

--
It's like driving a car at night. You never see further than your
headlights, but you can make the whole trip that way.

E. L. Doctorow

from Sunbeams: http://www.thesunmagazine.org
_______________________________________________
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.


  • Prev by Date: Re: Help on deploying webobject apps in jboss
  • Next by Date: Deadlock
  • Previous by thread: Re: FileUpload Problem? [Solved]
  • Next by thread: Deadlock
  • Index(es):
    • Date
    • Thread