• 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
WOPopUpButton - list & selection not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOPopUpButton - list & selection not working


  • Subject: WOPopUpButton - list & selection not working
  • From: "Thomas Peters" <email@hidden>
  • Date: Wed, 19 Feb 2003 23:31:48 -0500

WOPopUpButton

list
Array of objects from which the WOPopUpButton derives its values.

selection
Object that the user chose from the selection list. For the college example,
selection would be a college object.

selectedValue
Value that is used with direct actions to specify which option in the listis
selected.

The only documentation I can find is in the PDF under the DynamicELements
directory. I have also review the example in 'PetStoreWOJava' where the
'UpdateAccount.wo' contains 2 WOPopUpButton for states and countries.

I have products and categories, where categories is a parent object to
products. Category is defiled as a category_id and a category_name. The stored
value is category_id and the displayed value is category_name.

I can't seem to get the bindings right for this, or I just do not understand
how it works. I have set the list binding to an NSArray containing the
categories. I have set the selection to the product.category_id. This follows
the pattern exemplified in the example, but throws an exception because
'selection' binding returns the DisplayedValue of the WOPopUpButton. What am I
doing wrong?

Tom
_______________________________________________
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 - list & selection not working
      • From: Jonathan Rochkind <email@hidden>
    • Re: WOPopUpButton - list & selection not working
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: Do any manuals come with WO?
  • Next by Date: Re: WOPopUpButton - list & selection not working
  • Previous by thread: Re: Do any manuals come with WO?
  • Next by thread: Re: WOPopUpButton - list & selection not working
  • Index(es):
    • Date
    • Thread