سؤال

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