the part of the app that holds the date control...

Dimitrios Gianninas
Optimal Payments Inc.



-----Original Message-----
From: flexcoders@yahoogroups.com on behalf of Grant Davies
Sent: Sun 2/18/2007 11:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] cairngorm event that will affect all models, where to 
put the logic.
 
The question was, who should fire that event ?

The date change view fires the "change date" event and a command updates
the model for the date..

Who should then fire the "get new data" event, the commmand, the
main.xml, I think its some "central" part of the app that should do
that...

Grant. 



...........................................
> b l u e t u b e i n t e r a c t i v e.
.: grant davies
.: 404.428.6839 (c)
.: 708-983-1577 (F)
> [EMAIL PROTECTED]
> http://www.bluetube.com/bti


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dimitrios Gianninas
Sent: Sunday, February 18, 2007 11:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] cairngorm event that will affect all models,
where to put the logic.

When the date changes, fire off the same event that will execute the
command that got you data in the first place, should be simple.

Dimitrios Gianninas
Optimal Payments Inc.



-----Original Message-----
From: flexcoders@yahoogroups.com on behalf of Grant Davies
Sent: Sat 2/17/2007 10:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] cairngorm event that will affect all models, where
to put the logic.
 
Hey guys, have a cairngorm architecture question.
 
I have a dashboard where various charts are based on a global date.  I
have my datemodel and commands etc that update the datemodel based on
the date event being fired.
 
What I also need to happen is if the date changes, I need to get fresh
data for the charts, the charts are attached to models for their
specific type of data.
 
so when a date change occurs, i need to go and get the relevant data for
the charts , which updates their models, I'm not sure where i should
subscribe to this change of date since I don't want to make it chart
specific.  Should it be in the overall application controller, in the
main.mxml file or what ?
 
this event is more like a "if the date changes referesh all the data for
all the models"
 
Grant
 
 
 
...........................................
> b l u e t u b e i n t e r a c t i v e.
.: grant davies
.: 404.428.6839 (c)
.: 708-983-1577 (F)
> [EMAIL PROTECTED]
> http://www.bluetube.com/bti <http://www.bluetube.com/bti> A Tribal 
> Chicken Designs Affiliate <http://www.tribalchicken.com/>

 


-- 
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.

<<winmail.dat>>

Reply via email to