by: oguzhankinikPosted on: 2018-05-23 PrimeFaces selectCheckboxMenu kodu kullanımı örneği kullanımı 2- List kullanımı xhtml page: [code language=”html”] <p:selectCheckboxMenu id="customerGroupSlctChckbxMn" value="#{announcementCmsBean.selectedCustomerGroupList}" multiple="true" filter="true" filterMatchMode="contains" label="Müş. Grupları" panelStyle="width:250px"> <f:selectItems value="#{announcementCmsBean.customerGroupList}" var="customerGroup" itemValue="#{customerGroup.id}" itemLabel="#{customerGroup.description}" /> </p:selectCheckboxMenu> [/code] java class; [code language=”html”] List<CustomerGroup> toBeAddedCustomerGroupList = new ArrayList<>(); for(CustomerGroup tmpSelectedCustomerGroup : selectedCustomerGroupList) { for(CustomerGroup tmpCustomerGroup : customerGroupList) { if(tmpCustomerGroup.getId().equals(tmpSelectedCustomerGroup.getId())) { toBeAddedCustomerGroupList.add(tmpCustomerGroup); } } } addAnnouncement.setCustomerGroupList(toBeAddedCustomerGroupList); [/code] 3- List ile birlikte çevirici kullanımı JSF, PrimeFaces ve OmniFaces ile yapabileceklerinizi daha detaylı BalusC burada anlatmış.]]>