So what I am trying to do is a basic HtmlSelectOne dropdown list. This list will have sub groups (optGroups) which will give the appearance of nested options. So it would show like this for example:
The users are returned by a web service (note I am just using ‘users’ as an example), and based upon specific criteria I am going to create multiple option groups and then add them to the Select on dropdown. I have tried creating multiple ‘SelectItemGroupProviders’ in java with the options however I cannot figure out for the life of me how to add these providers to the actual dropdown in java. I realize I can hardcode (manually add the option groups in the dropdown options) in Designer but the number and size of these groups is dynamic so hard coding is not an option. Any ideas/suggestions would be greatly appreciated, thanks!