[Arp] dataTyping

Aral Balkan aral at ariaware.com
Wed Apr 20 06:38:34 PDT 2005


Hi Folkert,

If you're doing typeof, you will only get Object back. Try instanceof.

eg. trace ( personVO instanceof PersonVO );

All the best,
Aral

Folkert (Nederflash) wrote:

> Well, here we go again.
> Found out, After a post on the amf list, that the way amf handles things
> is changed.
> Great (sofar), but now here's an issue.
> In the birthday application te resultSet from the getPersonList is
> casted into PersonVO.
> But, when i do the debug traces (typechecking), they are all NOT
> PersonVO but Object.
> Is that normal ? and if so why all this casting  ?
>
> Folkert




More information about the Arp mailing list