• 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
NSArray Or WOPopup Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArray Or WOPopup Error


  • Subject: NSArray Or WOPopup Error
  • From: "Richard Bruch" <email@hidden>
  • Date: Wed, 10 Mar 2004 19:21:48 +0100

Hi Jonathan,

your binding is incorrect.

WOPopUpButton {
 list = numOfResultsList;
 selection = numOfResultsString;
 name = "numOfResultsString";
 displayString = numOfResultsString;
 item = numOfResultsString;
 value = numOfResultsString;
} Kind regardsJonathan :^)


you bind 'selection' and 'item' to the same object. While running through the
list WO sets numOfResultsString to the subsequent array elements so it is to
expect that you end up with the last element. Bind selection to a different
object and the problem should disappear

Richard
_______________________________________________
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: Class 'Main' exists but is not a subclass of WOComponent
  • Next by Date: Re: Inserting/Deleting Records From Within EOGenericRecord
  • Previous by thread: Re: NSArray Or WOPopup Error
  • Next by thread: Class 'Main' exists but is not a subclass of WOComponent
  • Index(es):
    • Date
    • Thread