• 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 selected value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopupButton selected value


  • Subject: Re: WOPopupButton selected value
  • From: John Andersson <email@hidden>
  • Date: Mon, 26 Apr 2004 09:19:00 +0200

You should have, in your case, a string variable with the current selection bound to "selection".
That string will also contain the selection made when submitted.
I dont think you'll need to bind "value" at all.


If there were other types of objects in the array "list" you could use the item-object to display a user visible name, by binding one of its methods / variables to "displayString". the "selection" then must be an object of the same kind as in "item" and in the array "list".

Hope I didnt make things worse... :-)

/John

2004-04-26 kl. 05.00 skrev Goh Keng Boon:

Question : if i want the default selected value to be the country "UK"
what should i do?
_______________________________________________
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 selected value
      • From: "Goh Keng Boon" <email@hidden>
References: 
 >WOPopupButton selected value (From: "Goh Keng Boon" <email@hidden>)

  • Prev by Date: Re: Creating an EOEditingContext object
  • Next by Date: Re: WOPopupButton selected value
  • Previous by thread: WOPopupButton selected value
  • Next by thread: Re: WOPopupButton selected value
  • Index(es):
    • Date
    • Thread