• 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: ClassCastException???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ClassCastException???


  • Subject: Re: ClassCastException???
  • From: David LeBer <email@hidden>
  • Date: Thu, 2 Oct 2008 12:55:25 -0400


On 2-Oct-08, at 12:46 PM, Guido Neitzer wrote:

On 2-Oct-08, at 10:37 AM, Awbrey Hughlett wrote:

The Basic and Specific EOs are linked to WOPopUpButtons. I want the selection value (bound to aBasic and aSpecific) to be added to the new instance of a Listing EO. I figured I didn't want a new object on both sides of the relationship since aBasic and aSpecific already have values set by the WOPopUpButton. That is why I went with listing().addObjectToPropertyWithKey(aSpecific, "specific"). Is my understanding of this wrong?

Ouch. Yes.

Bind the list to the array of Basic objects, the value to aBasic (DON'T create an instance for that!!!), and the selection to listing.basic. That should "just work".

Guido,

You meant bind 'item' to aBasic right?

And is the relationship to Basic from Listing to-one or to-many, the name 'basics' seems to imply a to many.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________ 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
  • Follow-Ups:
    • Re: ClassCastException???
      • From: Guido Neitzer <email@hidden>
    • Re: ClassCastException???
      • From: Awbrey Hughlett <email@hidden>
References: 
 >Relationships (From: Awbrey Hughlett <email@hidden>)
 >Re: Relationships (From: Chuck Hill <email@hidden>)
 >ClassCastException??? (From: Awbrey Hughlett <email@hidden>)
 >Re: ClassCastException??? (From: Johann Werner <email@hidden>)
 >Re: ClassCastException??? (From: Awbrey Hughlett <email@hidden>)
 >Re: ClassCastException??? (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: ClassCastException???
  • Next by Date: Re: ClassCastException???
  • Previous by thread: Re: ClassCastException???
  • Next by thread: Re: ClassCastException???
  • Index(es):
    • Date
    • Thread