• 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: fill popup with db values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fill popup with db values


  • Subject: Re: fill popup with db values
  • From: wojingo <email@hidden>
  • Date: Tue, 22 Nov 2005 10:01:32 +1030

Jeremy Matthews wrote:
Haven't done this in a while....

I have an Entity named "Tests", with an attribute "testType"

I created a WO popup with the following bound:

list: testList (I created a key for NSArray of "Tests")
selection: newTestsEntry.testType (which is a key of type "Tests")
noSelectionString: "Choose one!"


the popup returns as many dropdowns as there are entries in the database (put some in manually to test), but they show garbled text:
http://sisuworks.com/Forum/Picture 1.png


I know I'm forgetting a thing or two, and I'm rusty since I've been working on the Tomcat and JBoss distros....

Anyone who can offer advice will have their development requests put to the top!

You need to set the displayString. Your seeing the output of toString on your item(iterator) object.


- shaun
_______________________________________________
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


References: 
 >fill popup with db values (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Re: fill popup with db values
  • Next by Date: Re: Editing a fetch specification in an EOModel in Xcode 2.2?
  • Previous by thread: Re: fill popup with db values
  • Next by thread: Re: fill popup with db values
  • Index(es):
    • Date
    • Thread