I meanwhile managed it: Using the selected index of NSPopUpButton, I am
able to grab the related entity.
But, still, I'd like to know, why my initial concept failed.
Am 31.07.2006 um 22:00 schrieb Stefan:
Using two NSArrayControllers (myFromAccountArrayController,
myToAccountArrayController )
who manage the same entities, I created two NSPopUpButton to select
a from and
a to property.
Then I create two new other entities (transactionTo,
transactionFrom) and try to relate
them (@"transaction2Account") to the previously using NSPopUpButton
selected entities.
The app compiles and runs fine, I get two new entities, but both
relate to the same
entity - which is not related to the NSPopUpButton selected entity.
The related entity
seems to be the first available, not the one selected.
The NSPopUpButtons bind content and contentValues. selectedObject
is not bound,
since I have no 'target' entity to save the selected stuff.
Why are my newly created entities not related to my NSPopUpButton
selected entities?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden