[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
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]> &

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
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

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
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

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
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

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
{ > case MyEvent.EVENT_DOSOMETHING: > someMethod ( MyEvent(event).someTypeSafeProp); > break; > } > } > > > - Original Message - > From: Ralf Bokelberg > To: flexcoders@yahoogroups.com > Sent: Thursday, July 27,

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
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

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
[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 mu

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg
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

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread Douglas Knudsen
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

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread thunderstumpgesatwork
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 {