I have this requirement where I need to display items in a dropdown as groups (same as what is offered by standard JSF). I used the WCEM tag wec:selectOneMenu to display the items (sent from the handler as a list of SelectItem). This works fine. But when the items being sent by the handler are changed to groups (list of SelectItem containing SelectItemGroups, each group having an array of SelectItems), no items get displayed. When I changed the xhtml to use f:selectOneMenu, the same code from the handler worked perfectly.
Can somebody help me here and indicate to me what I might be doing wrong? Is it by chance that SelectItemGroup is not supported by the WCEM tag?
Thanks & Regards