On Nov 28, 2005, at 12: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: 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"
IIRC, newTestsEntry has been created but not yet inserted into an
EOEditingContext when this happens. That might be why it is null.
It could also be failing validation. Try overriding
public void validationFailedWithException(Throwable t,
Object value,
String keyPath)