• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
cloning a WOComponent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Newbie: EOModeler Delete Column & Tutorial Problems
  • Next by Date: Re: cloning a WOComponent?
  • Previous by thread: Re: Newbie: EOModeler Delete Column & Tutorial Problems
  • Next by thread: Re: cloning a WOComponent?
  • Index(es):
    • Date
    • Thread