cloning a WOComponent?
cloning a WOComponent?
- Subject: cloning a WOComponent?
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 02 Dec 2002 19:41:49 -0600
WOComponent implements 'Cloneable', which suggests that I can clone
WOComponents, true? But I've never used the Java cloning stuff before; I'm
not sure what's going on.
I have an instance of a particular custom WOComponent subclass, call it
MyComponent. I can indeed call clone() on it, and no exception is
thrown. But I seem to get back an instance simply of WOComponent, not of
MyComponent. What's going on here?
Is there any easy way to clone an instance of a particular WOComponent
subclass for real?
Thanks for any hints.
--Jonathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.