what "other" thing do u want to do? give an example and we can take it from 
there.
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
Anderson
Sent: Friday, January 12, 2007 1:53 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need primer on Events, from the List Gurus -



Hello All,

This thread, directly relates to all the other ones I've posted recently
- as I think one of my root problems, is truly understanding on how
Events get propagated within an application.

They say the Event model is so great, due to all the components being so
loosely coupled. So either I am missing something really rudimentary
here, or the Event model doesn't work the way I thought it did.

In every example I've seen, for an Event Listener and Broadcaster setup
to work properly, there must be a common link (like a container) between
the 2 components - and then, there are the 3 key things which must be in
place: The Event Listener, the Broadcaster, and the Function that gets
run whenever the Event gets triggered.

But what about the times, where I won't know for sure beforehand, which
component I will be using at the time? Especially in a Cairngorm
Application, where the Commands (which is where I desperately need to
broadcast my Custom Events from) literally NEVER know where their Result
Events are going to be sent. Of course, this is where the true power of
Cairngorm-based Applications comes into play.

All the Commands do really, is update the ModelLocater with their
updated results - and because of Data Binding, the Components in the
Application show the updated results. For me unfortunately, there is
always much more that needs to be done, after a Result is brought back -
and I need to find a way to tell my Application Components, to perform
their next task (based on a Custom Event, that I broadcast).

Can anybody show me how to Broadcast Events in such a manner, that they
get disseminated "Application-wide"??? This way, I don't need to know
beforehand, which Components will be Receiving the Events.

This is the final thing on my plate that I must figure out, then I can
FINALLY finish my app and find some peace in my life....

Thanks in advance,

Mike



 

-- 
WARNING
-------
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--------------
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

Reply via email to