Re: Retrieving selected value from WOPopUpButton
Re: Retrieving selected value from WOPopUpButton
- Subject: Re: Retrieving selected value from WOPopUpButton
- From: Seejo Pylappan <email@hidden>
- Date: Fri, 9 May 2003 15:01:02 -0400
You need to bind your string object to the "selection" binding of the
WOPopUpButton. The "selectedValue" is to specify which of the item is
selected using direct action.
On Friday, May 9, 2003, at 02:37 PM, Kitwana Akil wrote:
Hi,
I have an WOPopUpButton that I have populated with values from an
NSArray. These values are not from a table:
NSArray values = new NSArray( new String[] { "One", "Two", "Three",
"Four", "Five" } );
I have bound the NSArray to the "list" attribute for the
WOPopUpButton. I am unable to figure out how to retrieve the values
from the "selectedValue" attribute. I want to take that value and
assign it to a String object.
Could someone please explain how this is done and maybe provide a code
example of this. Thank you.
Kitwana Akil
_______________________________________________
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.