Hi. The ObjectUtils.copy(obj:someobject) proves to be very usefull, but i ended up in a new problem.
when doing the copy if i want to cast the resulting Object to a custom object it doesn't work. For instance. If i have the objetc Person that implements IValueObject and want to cast the resulting object from the ObjectUtils.copy(..) to Person nothing happens. I've seen in some adobe forum the same question but with no reply. There it says that ObjectUtil.copy(..) doesn't deep copy custom objects... Any solutions on this? any help would be very welcome. Best regards Lucas --- In [email protected], Kevin <[EMAIL PROTECTED]> wrote: > > take a look at the ObjectUtils. > > newObject = ObjectUtils.copy( someObject ); > > > - Kevin > > > > On Apr 25, 2007, at 8:43 PM, Persaud, Anthony wrote: > > > > > Is there a built-in function to deep-copy an object? > > > > > > > > >

