Static component question
Static component question
- Subject: Static component question
- From: "Shagor Ghani" <email@hidden>
- Date: Wed, 7 Nov 2007 12:24:53 -0800
WOMasters,
I have a feeling this is a fairly basic WO question, so advanced apologies if my hunch is correct.
Basically, I'm looking to populate a pulldown menu, inappropriately titled WOPopUpButton in WOBuilder, with a set of values, e.g. "Red", "Blue", and "Green". Problem is, I don't want to accomplish this by building an NSArray of Strings with these values and then binding the NSArray to the 'list' attribute in the WOPopUpButton. Is there a better way to do this whereby I don't have to store these values in code, DB, etc, but directly in my HTML or somehow in the component itself? If I take the approach of a static WOPopUpButton component, how would I access the selection in my code?
Thanks,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden