[progress Communities] [progress Openedge Abl] Forum Post: Re: Cloning An Object

  • Thread starter Thread starter Matt Baker
  • Start date Start date
Status
Not open for further replies.
M

Matt Baker

Guest
Object serialization only works on objects that are marked as serializable. If just one object in that tree isn't, then it won't serialize properly. Same with clonable objects. You'd have to check the whole object tree for the RadGridView and all the objects it uses to make sure they are all clonable/serializable. This isn't a simple task to clone the whole object tree. Better, is to move your object definition into something that is more appropriate to making multiple copies, such as an external file definition like JSON or XML, or to use a factory object with a generator that can configure multiple objects with the same setup.

Continue reading...
 
Status
Not open for further replies.
Back
Top