title: Primefaces selectCheckBoxMenu filter="custom" property doesn't work
body: <p>I'm using primefaces 3.5 and i want to use selectCheckBoxMenu component. Actually, i handle lots of property of this component, but i have huge list and i am willing to get this list with lazy and this component doesn't include lazy property. Therefore, i decided to filter my list by using filter="custom" and filterFunction property. </p>
  
  <p>Here is my code : </p>
  
  <pre><code>&lt;p:selectCheckboxMenu id="personelListesiCheckBoxId"
                                        value="#{gidenKutusuController.secilenKullaniciListesi}"
                                        converter="#{personelConverter}"
                                        label="#{gidenKutusuController.personelLabel}"
                                        filter="true"
                                        filterMatchMode="custom"
                                        filterFunction="customFilter"
                                        panelStyle="width:220px"&gt;
                      &lt;p:ajax event="toggleSelect" process="@this"
                              onstart="personelGetir();"/&gt;
                      &lt;p:ajax event="change"
                              process="@this"
                              listener="#{gidenKutusuController.listenerPersonelSecildi()}"
                              update="@this"/&gt;
                      &lt;f:selectItems value="#{gidenKutusuController.personelListesi}" var="personel"
                                     itemLabel="#{personel.adi} #{personel.soyadi}"
                                     itemValue="#{personel}"/&gt;
                  &lt;/p:selectCheckboxMenu&gt;
                  &lt;p:remoteCommand process="@this"
                                   action="#{gidenKutusuController.listenerPersonelSecildi()}"
                                   name="personelGetir"
                                   update=":form:personelListesiCheckBoxId"/&gt;
                  &lt;p:remoteCommand process="@this"
                                   action="#{gidenKutusuController.listenerPersonelListesiLazyGetirByFilter()}"
                                   name="personelListesiniGetirByFilter"
                                   update="@this"/&gt;
  </code></pre>
  
  <p>and this java script code : </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function customFilter(itemLabel, filterValue) {
          personelListesiniGetirByFilter({fv: filterValue});
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to do that when the user type into filter, i get that value and query database with that value and get list and set the list to the selectCheckBoxMenu component.To do that, 
  i use filterMatchMode="custom" and filterFunction="customFilter" in order to get the typed value, then normally when the user typed, customFilter java script function must be called , it is not working. </p>
  
  <p>I don't know how to solve the problem. Please help me.</p>
  
  <p>Here is the primefaces 3.5 guide </p>
  
  <pre><code>&lt;p:selectCheckboxMenu value="#{bean.selectedOptions}" label="Movies"
               filterMatchMode="custom" filterFunction="customFilter"&gt;
               &lt;f:selectItems value="#{bean.options}" /&gt;
  &lt;/p:selectCheckboxMenu&gt;
  
  
  function customFilter(itemLabel, filterValue) {
       //return true to accept and false to reject
  }
  </code></pre>