That generated a coercion error.
--- In flexcoders@yahoogroups.com, "bobignacio" <[EMAIL PROTECTED]>
wrote:
>
> You can always try the following:
>
> thisPerson = (Employee)(event.result);
>
> However, you may get the error of "cannot convert Object to
Employee.
> But its worth a try.
>
> Bob I.
>
> --- In flexcoders@yahoogroups.com, "Wally Randall" <wally.randall@>
> wrote:
> >
> > Problem:
> > When I invoke the "get" function in the generated gateway object
from
> > the CF Wizard I cannot cast the result to an instance in Flex.
> > In debug I can see that the event.result is returning data but
when
> > this statement is invoked the result is a NULL thisPerson object
in
> > Flex:
> >
> > thisPerson=event.result as Employee;
> >
> > Any suggestions?
> >
>