Hi JWOpitz,

It works great, Thx!!!

Dan
--- In [email protected], "JWOpitz" <[EMAIL PROTECTED]> wrote:
>
> Check into mx.utils.ObjectUtils.getClassInfo(value:Object):Object 
> 
> 
> --- In [email protected], "Dan" <yldleung@> wrote:
> >
> > Hi,
> > 
> > Does anyone know the way how to copy two objects of differet 
class say 
> > D1 and D2, that derived from the same B1 base class?
> > Is that i need to copy all the attribute from B1 one by one in D1 
to D2 
> > explicity????
> > 
> > The reason i want to do it is because the DTO from the server 
side is 
> > quite different from what a datagrid or other client side 
component 
> > expected, so what i trying to do is to flatten some of the 
attribute of 
> > those DTO first ( a type conversion ). and the B1 is some how 
some 
> > version keeping information which i don't want to touch with.
> > 
> > Any people has any idea? Thx for any opinion.
> > 
> > Daniel
> >
>


Reply via email to