I'm sure this is Igor's territory, but I was wondering if, like how Check/CheckGroup and Radio/RadioGroup was done, if we could also add something to permit optgroups. My thought was to have something like a Select object which takes a list of OptGroup components. The OptGroup component then takes a list of SelectOption components.
The other way I was thinking about it was to add a constructor to DropDownChoice and ListMultipleChoice which takes a Map. Then each Map key could be the optgroup value and the value could be a list of what should appear within that optgroup.
Thoughts?
--Andrew
- [Wicket-user] Adding Support for <optgroup> Andrew Berman
- Re: [Wicket-user] Adding Support for <optgroup> Igor Vaynberg
- Re: [Wicket-user] Adding Support for <optgroup... Andrew Berman
- Re: [Wicket-user] Adding Support for <optg... Igor Vaynberg
- Re: [Wicket-user] Adding Support for <... Igor Vaynberg
- Re: [Wicket-user] Adding Support for... Johan Compagner
- Re: [Wicket-user] Adding Support... Andrew Berman
- Re: [Wicket-user] Adding Sup... Igor Vaynberg
- Re: [Wicket-user] Adding Sup... Igor Vaynberg
- Re: [Wicket-user] Adding Sup... Andrew Berman
- Re: [Wicket-user] Adding Sup... Igor Vaynberg
