transformers? revisited but getting there..
transformers? revisited but getting there..
- Subject: transformers? revisited but getting there..
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 19 Sep 2004 09:32:58 -0700 (PDT)
I need some help with transforms and bindings.
a little history:
I have a popup managed by an arraycontroller. the
array is created by querying a database and retrieving
a list of clientnames and clientcodes. I then bind the
clientnames to the popup. my problem is that when I
change the popup, I need the clientcode to be updated
in the selection.loggedInByCode in the main
controller.
I have used NSTransformers for this before however I
don't know how to get the transform values into the
transformer.
The question is, am I barking up the wrong tree with
using the transformerValues.
Is there an easier way to bind the clientNamePopUp in
such a way that if I select a new clientname, the
clientcode gets updated also.
my 'schema' is like this.
mainJobArray =
jobNumber
clientNmae
clientCode
loggedindate
proofdate
finaldate
the popupcontroller is bound to:
clientname
clientcode
where I am displaying the clientname in the popup.
This array is created on the fly from the database and
can change so I can not create a transformer that is
hard coded.
Am I clear? How can I accomplish this?
Ted
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.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