Thats it!
I like it and it works 100%.
Thanks Feiy!
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática
feiy escribió:
u can extends the event,add a source attribute to it
eg:
public class SourceEvent extends CairngormEvent{
public
Alberto,
In my opinion commands shouldn't be aware of the views. It's not what cairngorm
is made for. Dispatch your event and set the result to some variable in your
ModelLocator. Then if foobar1 and foobar2 need that info, use bindings and bind
them to that variable ... Do you need to
Hi Joao,
I dont agree at all hehe For me, it is ok that commands know about views
(or whatever dispatches the event that started that command)
Imagine this situation:
You have a screen where 2 components ask for the weather on a zip code,
so I can see weather on 2 locations at the same time.
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de João Fernandes
Envoyé : vendredi 17 février 2006 13:08
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Cairngorm2 reusable commands
Alberto,
In my opinion commands shouldn't be aware of the views. It's not what
cairngorm is made
u can extends the event,add a source attribute to iteg:public class SourceEvent extends CairngormEvent{ public SourceEvent(type:String,source:Object){ super(type);this.source=source
; }public var source:Object;}then inner the viewHelper:
public function getResults():void {
var
5 matches
Mail list logo