Re: fill popup with db values
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