help with binding
help with binding
- Subject: help with binding
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 23 Sep 2004 07:24:14 -0700 (PDT)
I am rather new to bindings and need a little help.
I have an array set up as:
<key>name
<key>accountcode
I use this array to bind to a popup. I have the name
key bound to the popup.
[employeePopUpController bind:@"contentArray"
toObject: self
withKeyPath:@"employeeArrayListForPopUp" options:nil];
[ejsEmployeePopUp bind:@"content" toObject:
employeePopUpController withKeyPath:@"arrangedObjects"
options:nil];
[ejsEmployeePopUp bind:@"contentValues"
toObject:employeePopUpController
withKeyPath:@"arrangedObjects.ename" options:nil];
[ejsEmployeePopUp bind:@"selectedObject"
toObject:ejsMainArrayController
withKeyPath:@"selection.loggedInByName" options:nil];
This works great..
What I want to do is .... When I select a popup value
I want to bind the accountcode (of the popup array) to
ejsMainArrayController
withKeyPath:@"selection.loggedInByCode.
This must be doable.
Thanks,
Ted
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden