Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more popup fun



On 28-Nov-05, at 3:29 PM, Jeremy Matthews wrote:

For some reason, my popup (list populated by a db fetch) now querys AND displays correctly, but selecting the value in the popup still produces null when submitting the object for insertion. The text fields are fine, so the method is probably sound. I'm assuming my wopopup bindings are somehow incorrect. Here are the current bindings:

displayString:        testTypeEnumerator.testType
item:                     testTypeEnumerator
list:                       testList
noSelectionString: "Select A Test..."
selection:              newTestsEntry.testType

displayString: is showing correct attribute
item: not sure why I need the enumerator, but its there
list: working, since the attributes are displayed correctly from the db fetch
noSelectionString: not really important, but there
selection: not sure if this is working...this is the important binding that takes the selected value, no?


Entity is caled "Tests"
attributes are: testType, testScore, testGrade, testName
new entry is called "newEntry"

Your selection is bound to newTestsEntry.testType is that correct?

You say your  new entry is called "newEntry".

This confuses me.

What type is testTypeEnumerator, and what type is the testType attribute of the Test entity?

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >more popup fun (From: Jeremy Matthews <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.