but I already have the following code in ModelLocator

[Bindable]
 public class CESFESFModel implements IModelLocator {
  
  // Single Instance of Our ModelLocator
  private static var instance:CESFESFModel;
    
     public var personData:PersonVO;
....
}

Thanks

Mark


----- Original Message ----
From: Tianzhen Lin <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, December 28, 2007 12:22:51 PM
Subject: RE: [flexcoders] data binding question for Cairngorm?

If personalData is a class itself, its class definition should also declare 
[Bindable], or emptstatus should be [Bindable] at least.  Bindable is not 
recursive, and does not propagate. 
 
From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of markflex2007
Sent: Friday, December 28, 2007 11:59 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] data binding question for Cairngorm?
 
Hi 

I have the carirngorm code here


import ca.sb.CESF.ESF. vo.PersonVO;

[Bindable]
public var modelLocator: CESFESFModel = 
CESFESFModel. getInstance( ); 


<mx:TextInput id="eligible_total" x="723.5" y="1294" width="82" 
text="{getEligible
(modelLocator. personData. emptstatus, new_total. text)}"/>

* personData is a instance of PersonVO and it is defined in 
CESFESFModel.

I get a warning error for modelLocator. personData. emptstatus.

The error message is :

Data binding will not be able to detect assignments to "emptstatus". 

I already use the "[Bindable]" for modelLocator but why I can not 
bind "modelLocator. personData. emptstatus"

Thanks

Mark



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to