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
{
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 CairngormEvent.
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 down
: 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 d00ds. I had this hacked up too much...no
worky good. If only
: [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 d00ds. I had this hacked up too much
06 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 so far don't make use of the runtime changeability anyways. What
d
).someTypeSafeProp);
break;
}
}
- Original Message -
From: Ralf Bokelberg
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
PROTECTED]
To: flexcoders@yahoogroups.com
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 subclassing CairngormEvent you get basic checking and then you
can just do
]
To: flexcoders@yahoogroups.com
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 subclassing CairngormEvent you get basic checking and then you
can just do a cast or 'event
.
Actually, at this point, no clue... wtf were you talking about anyway,
Bokel?
- Original Message -
From: ben.clinkinbeard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, July 27, 2006 10:50 PM
Subject: [flexcoders] Re: cairngorm Events and data payloads
Doesn't execute
, no clue... wtf were you talking about anyway,
Bokel?
- Original Message -
From: ben.clinkinbeard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, July 27, 2006 10:50 PM
Subject: [flexcoders] Re: cairngorm Events and data payloads
Doesn't execute() accept
11 matches
Mail list logo