What is NtpClass?  Is it bindable?  Are you getting any warnings?

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rss181919
Sent: Tuesday, August 26, 2008 5:59 PM
To: [email protected]
Subject: [flexcoders] help binding to combo box selectedItem

 

i have a custom combo box and i seem to be having trouble binding and 
object variable to the selectedItem reference. I have a panel that 
contains the combo box. In the panel constructor I have the following:

BindingUtils.bindProperty(NtpIn, 'NtpClass', 
ClsCbxObj.selectedItem, 'ClsId');

In my change event on the combo box I reference the following:
Alert.show(ClsCbxObj.selectedItem.ClsId);
Alert.show(NtpIn.NtpClass);//NtpOut.NtpClass = 
ClsCbxObj.selectedItem.ClsId;

Line 1 results the correct ClsId. Line 2 reflects the original setting 
initialized during construction. So I know the value is changing but 
there is no binding dispatch event going out. I am assuming I just 
need to set one of the properties somewhere to be bindable but which 
one.

 

Reply via email to