Re: WOPopupButton and optgroup, how to?
Re: WOPopupButton and optgroup, how to?
- Subject: Re: WOPopupButton and optgroup, how to?
- From: Sam Barnum <email@hidden>
- Date: Tue, 18 Jan 2005 08:55:42 -0800
No, you'd want to roll your own component for that. I've thought about
doing this in the past, but browser support for optgroup isn't so
great, I usually end up using multiple pulldowns instead.
Some different ways of setting up the bindings for this:
Create a binding which accepts an NSDictionary of arrays. The keys in
the dictionary could be used as the group values. The values for each
key are the selectable <option> tags.
Then check out the WXPopUpButton example, at
/Developer/Examples/JavaWebObjects/Frameworks/WOComponentElements/
WXPopUp.wo
This will give you an idea of how to set up the dynamic elements to
process the values.
Good luck!
Sam Barnum
360 Works
http://www.360works.com
415.929.7318
On Jan 18, 2005, at 7:36 AM, Dev WO wrote:
Hi all,
I've been searching all the different archive and couldn't find a clue
on this one.
Is there any way to make a WOPopupButton in a form and having some
information grouped using the <optgroup> tag?
Thanks a lot for your input.
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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