Re: [flexcoders] Cairngorm and ChangeWatcher

2009-01-10 Thread claudiu ursica
http://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more

This should give you some directions...

Claudiu





From: lampei lam...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Saturday, January 10, 2009 1:34:25 AM
Subject: [flexcoders] Cairngorm and ChangeWatcher


I have begun tinkering around with various frameworks and thought I
would start with Cairngorm.  I am refactoring a small application to
use Cairngorm, but ran into a snag.  All of the examples I found just
bound an item in the view to a property of the ModelLocator, and thus
automagically updated the value when the property of the ModelLocator
changed.  However, I had one item that is waiting for a response from
a service, and needed to respond to that change (such as an error
message), rather than just display the updated data that is returned.

I found an example that uses the ChangeWatcher class to watch the
property on the ModelLocator.  This seemed to work fine, but I was
wondering if this is still best practice, as the example I found was
from 2006.

Thanks.




  

[flexcoders] Cairngorm and ChangeWatcher

2009-01-09 Thread lampei
I have begun tinkering around with various frameworks and thought I
would start with Cairngorm.  I am refactoring a small application to
use Cairngorm, but ran into a snag.  All of the examples I found just
bound an item in the view to a property of the ModelLocator, and thus
automagically updated the value when the property of the ModelLocator
changed.  However, I had one item that is waiting for a response from
a service, and needed to respond to that change (such as an error
message), rather than just display the updated data that is returned.

I found an example that uses the ChangeWatcher class to watch the
property on the ModelLocator.  This seemed to work fine, but I was
wondering if this is still best practice, as the example I found was
from 2006.

Thanks.