--- In flexcoders@yahoogroups.com, "nathanpdaniel" <ndan...@...> wrote:
>
> Maybe I misspoke so, to clarify, my ItemRenderer knows nothing of my actual 
> model.  I do use some static values from my model (checking against specific 
> values - if I have one of these values, change the state of this particular 
> item).
> So after reading in my last post "all my data is bound to a model", I see the 
> confusion.  I simply have a VO being created when the data property is 
> set/updated.  Cairngorm has a "model" which is used for the entire 
> application.  Then it uses VOs to represent individual "things" (I'm not sure 
> what to call them.. :D).  However, going back in the history of Flex, a model 
> (in standard Flex) and a VO (in Cairngorm) are the same thing.  So, when I 
> was referring to a model in my ItemRenderer, it would have been better to use 
> VO.  

So why are you using this line in your ItemRenderer if your ItemRenderer knows 
nothing of the model:

[Bindable]private var model:AppModelLocator = AppModelLocator.getInstance();

?

Reply via email to