title: How to use filter in JSF richface data table as "Contains" or "Ends With"
body: <p>I am using JSF richface. I am using Filters in data table. </p>
  
  <pre><code>&lt;rich:column width="50px" label="Item Name" align="center" 
  filterBy="#{list.itemName}"  filterEvent="onkeyup"
  filterValue="#{Bean.itemFilter}"    filterType="custom"&gt;                                    
      &lt;h:inputText id="item"  value="#{list.itemName}" styleClass="rsInput" disabled="true" /&gt;
  &lt;/rich:column&gt;
  </code></pre>
  
  <p>Here #{Bean.itemFilter} is a string variable. I have no idea about this.</p>
  
  <p>It works like "Starts with" for given search keyword. 
  If a letter 'A' is typed, it brings item name starts with 'A'. But I need to get item name contains 'A'(may be at anywhere).</p>
  
  <p>I need to use filter like "contains" or "Ends with". How can I approach this?</p>