• 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
Re: Need help! cloning an object SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help! cloning an object SOLVED


  • Subject: Re: Need help! cloning an object SOLVED
  • From: Amedeo Mantica <email@hidden>
  • Date: Fri, 12 Aug 2005 11:39:17 +0200

SOLVED, Thanks LD and Michael for the help!!!!!!
Best Regards.
Amedeo!!


On 11/ago/05, at 10:39, Michael Holtermann wrote:

Am Donnerstag, 11. August 2005 10:34 schrieb Amedeo Mantica:

i got a biuld error.


What Exception do you get exactly?


both array and variableas are the same type (a my own class)


The array contains Object-instances, independent from what you've added to the
array. If you read from the array, you have to cast the returned Object to
your concrete class:


Customer customer = (Customer)array.objectAtIndex(0);
                    ^^^^^^^^^^

Greetings, Michael.

P.S.: Please, answer to the list. Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40macintossicati.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Need help! cloning an object (From: Michael Holtermann <email@hidden>)

  • Prev by Date: Re: Object gets empty value, womp
  • Next by Date: Re: Object gets empty value, womp
  • Previous by thread: Re: Need help! cloning an object
  • Next by thread: "Choosing" the WOWorkerThread that executes the request...
  • Index(es):
    • Date
    • Thread