I would like to know if it is possible to select multiple items in <ice:selectOneMenu> component, or is there any other component in Icefaces which allows a user to select multiple values from a list.
Thanks in advance

有帮助吗?

解决方案

You could use ice:selectManyMenu

<ice:selectManyMenu value="#{bean.selectedValues}" >
<f:selectItem itemValue="Value1" itemLabel="Value1" />
    <f:selectItem itemValue="Value2" itemLabel="Value2" />
    <f:selectItem itemValue="Value3" itemLabel="Value3" />
</ice:selectManyMenu>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top