title: How to invoke filter after f:ajax
body: <p>In my p:datatable, there is a column named Resolution, consisting of a check box and text.  If the box is checked, the text is Resolved,  If the box is not checked, then text is Unresolved.  I also have a filter box defined for this column so only Resolved or Unresolved entries are shown. 
  If I filter on Resolved, then uncheck the box, the entry is now Unresolved, but it is still showing up.  It shouldn't, because it no longer satisfies the filter.  My question is how do I force filter() to execute after the last f:ajax render ?  </p>
  
  <p>Here is my code snipet:</p>
  
  <pre><code>&lt;p:dataTable id="measurementHistoryTableId"
    value="#{measurements.measurementHistoryList}" 
    var="meas3"
    dynamic="true"&gt;
    &lt;p:column id="resolutionColumn"
      filterBy="#{meas3.resolution}"
      filterOptions="#{measurements.measurementHistoryOptions}" 
      sortBy="#{meas3.resolution}"  &gt;
      &lt;f:facet name="header"&gt;
        &lt;h:outputText value="#{msgs.MeasurementResolution}" /&gt;
      &lt;/f:facet&gt;
      &lt;h:selectBooleanCheckbox value="#{meas3.resolved}" &gt;
        &lt;f:ajax event="click" execute="@all" render="resolutionId @this" /&gt;
      &lt;/h:selectBooleanCheckbox&gt;
      &lt;h:outputText id="resolutionId" value="#{meas3.resolution}" /&gt;
    &lt;/p:column&gt;                   
  &lt;/p:dataTable&gt;      
  </code></pre>
  
  <p>I tried render=@all, but that didn't help.  render=@form gives me jQuery.datepicker undefined.  I tried to add 'onclick=widget_measurementHistoryTableId.filter()' to the 'h:selectBooleanCheckbox' , but it causes the filter to fire before the 'f:ajax' is executed.</p>
  
  <p>Thanks for any help you could give me.
  Binh</p>