• 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: WOPopupButton Confusion...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopupButton Confusion...


  • Subject: Re: WOPopupButton Confusion...
  • From: David Griffith <email@hidden>
  • Date: Sat, 28 Feb 2004 16:55:05 +0100

James,

You need to bind the array to the 'list', an instance of the item in the
array to 'item' which you have probably done, and then the attribute from
the item that you want to display should be linked to the 'displayString'
binding of the WOPopUp.

I.e.

CustomerArray -> list
Customer -> item
Customer.custName() -> displayString

That should sort it...

Dave.

> James: I would guess that you have bound your array to both the list
> and item attribute. Make sure you have a single instance variable of
> the type of object in the array -and- bind it to the item attribute.
>
> -George
>
> On Feb 28, 2004, at 10:13 AM, James Cicenia wrote:
>
>> Hello -
>>
>> I think I am brain dead this morning but,
>> When I populate my WOPopupButton with an NSArray, which
>> is an array of my objects, I am seemingly getting a 2-dimensional
>> array view...
>>
>> My popup has the right number of items in it, HOWEVER, each item
>> is an array of my values!!!
>>
>> So instead of getting:
>>
>> Item1
>> Item2
>> Item3
>>
>> I am getting
>>
>> Item1, Item2, Item3
>> Item1, Item2, Item3
>> Item1, Item2, Item3
>>
>> Any help would be appreciated this morning as I am seemingly lost
>> on this simple matter.
>>
>> -James Cicenia
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.
_______________________________________________
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.


  • Follow-Ups:
    • Re: WOPopupButton Confusion...
      • From: James Cicenia <email@hidden>
References: 
 >Re: WOPopupButton Confusion... (From: George Domurot <email@hidden>)

  • Prev by Date: Re: WOPopupButton Confusion...
  • Next by Date: Re: Can I use Project Wonder with XCode, WO 5.2.2 and OS X 10.3.2?
  • Previous by thread: Re: WOPopupButton Confusion...
  • Next by thread: Re: WOPopupButton Confusion...
  • Index(es):
    • Date
    • Thread