7;ve definately
taken for
> granted all my other stuff has worked for that very fact. Oops.
>
> Actually, at this point, no clue... wtf were you talking about anyway,
> Bokel?
>
> - Original Message -----
> From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
&
er stuff has worked for that very fact. Oops.
Actually, at this point, no clue... wtf were you talking about anyway,
Bokel?
- Original Message -
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 27, 2006 10:50 PM
Subject: [flexcoders] Re: cairngorm Events
te.
> I supposed you could make that assumption; not sure if it'd compile.
> Anyway, convention over strict-typing is ok since a lot of
conventions teams
> follow can do the above, for example, and assume you'll get what you
need.
>
>
> - Original Message -
&g
get what you need.
- Original Message -
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 27, 2006 10:22 PM
Subject: [flexcoders] Re: cairngorm Events and data payloads
Forgive the dense noob here, but how is the type info lost? I thought
that by sub
{
> case MyEvent.EVENT_DOSOMETHING:
> someMethod ( MyEvent(event).someTypeSafeProp);
> break;
> }
> }
>
>
> - Original Message -
> From: Ralf Bokelberg
> To: flexcoders@yahoogroups.com
> Sent: Thursday, July 27,
To: flexcoders@yahoogroups.com
Sent: Thursday, July 27, 2006 4:20 PM
Subject: Re: [flexcoders] Re: cairngorm Events and data
payloads
The only typesafe solution i can think of, is to abandon
CairngormEvents and replace them by methods of the FrontController. Most of the
apps i've seen s
July 27, 2006 12:58 PM
Subject: Re: [flexcoders] Re: cairngorm Events and data
payloads
Its really a pity, that we loose all the nice type information
while going all the way through Cairngorm. Cheers,Ralf.
On 7/27/06, Douglas
Knudsen <[EMAIL PROTECTED]>
wrote:
ah, righto. thanks
I'm with you. I've been determing type of
event based on the event.type in the Command's execute method to get my
strong-typing back.
- Original Message -
From: Ralf
Bokelberg
To: flexcoders@yahoogroups.com
Sent: Thursday, July 27, 2006 12:58 PM
Subject: Re:
Its really a pity, that we loose all the nice type information while going all the way through Cairngorm.
Cheers,
Ralf. On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
ah, righto. thanks d00ds. I had this hacked up too
much...no worky good. If only I can get that damn RO to
calm do
ah, righto. thanks d00ds. I had this hacked up too much...no worky good. If only I can get that damn RO to calm down now and do what its told! but that's another thread.DK
On 7/27/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:
Hi,The delegate function thinks you just have a CairngormE
Hi,
The delegate function thinks you just have a CairngormEvent. I think
you just need to check to make sure the event you received is your
custom event type and then cast it.
so:
if (eventHere is LoadScorecardEvent)
{
del.getScorecard( LoadScorecardEvent(eventHere).scorecardId );
}
else
{
gorm works. I don't
mind modding Cairngorm, to be sure, just pointing it out.
- Original Message -
From: "Tom Chiverton" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 27, 2006 4:26 AM
Subject: Re: [flexcoders] Re: Cairngorm Events
On Wednesday 26 July 2006 16:56
On Wednesday 26 July 2006 16:56, JesterXL wrote:
> Not anymore, no, as he's usually embedded at the top of the tree.
I'm not sure what you mean.
> could utilize ViewLocator I guess, but that is bleh.
Indeed. We tend to pass the view into the event instead.
--
Tom Chiverton
*
Not anymore, no, as he's usually embedded at the top of the tree. You
could utilize ViewLocator I guess, but that is bleh.
- Original Message -
From: "Tom Chiverton" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 26, 2006 11:46 AM
Subject: Re: [flexcoders] Re:
On Wednesday 26 July 2006 16:35, JesterXL wrote:
> If you use dispatchEvent, yes. If you use CairngormEventDispatcher, no.
> For more information about Halliwells LLP visit www.halliwells.com.
Though couldn't the Controller dispatchEvent() for the components to listen
too ?
--
Tom Chiverton
*
I figure that's what I have to do, just create a custom event and dispatch the event in the onResult method.Thanks again all,Ryan-Original Message-From: [EMAIL PROTECTED]Sent: Wednesday, July 26, 2006 3:35 PM -07:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm EventsIf
If you use dispatchEvent, yes. If you use
CairngormEventDispatcher, no.
- Original Message -
From: Ryan Stewart
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 11:27 AM
Subject: Re: [flexcoders] Re: Cairngorm Events
Thanks guys, I
know the usual method for
Thanks guys, I know the usual method for Cairngorm events, and I'm using that as well, but in this case I'm doing some random voodo magic with dynamically generated components and I was hoping I could set an event listener for each of those components to capture an associated CairngormEvent. It d
As Tom says, usually a Carirngorm event is dispatched to the
FrontController, which in turn executes an instance of a command.
And ultimatly, the ModelLocator gets updated and the view reacts via
binding.
Presently however, there isn't a mechanism to listen, for the result
of the dispatched
19 matches
Mail list logo