• 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
Multiple Relationships and list boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Relationships and list boxes


  • Subject: Multiple Relationships and list boxes
  • From: Edwin Smith <email@hidden>
  • Date: Wed, 21 May 2003 13:39:03 +0100

I have been using web objects for the first time and I have come up against a few problems.

I have a table called bugs and it has a one-to-many relationship with comments.
Comments table stores the priority ID and has a relationship with the priority table.


So you have the following

Bug -> Comments -> Priority

I want to create a way of clicking on a bug and you get the list of comments (this I can do) but then instead of displaying the priority ID in a text field use the relationship to display the actual name of the severity.

So you have a relationship in a relationship. This appears to work fine in interface builder but it does not work in the compiled java application. (you just get a gray box) for the severity name.

Part 2-

What I was aiming to do finally is to create a list box (popup box) with all the severity's and then make the visible option match the bug severity for that bug.

i.e if the bug was a "crash" then the list box would show crash but when you selected another bug the list box would update the currently selected option to what ever that bug was.

At the moment using Java 1.4.1 I cannot get any listboxes to work at all is this a bug with WO and java 1.4?

(Also any comments on where to find some good documentation on application building would be good as the Apple supplied manual is a little sparse. )

Thanks Edwin
_______________________________________________
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: Multiple Relationships and list boxes
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: WOFileUpload exception....
  • Next by Date: Re: Multiple Relationships and list boxes
  • Previous by thread: Re: WOFileUpload exception....
  • Next by thread: Re: Multiple Relationships and list boxes
  • Index(es):
    • Date
    • Thread