Version 1

    I am using filter expression in a datatable. I do know there are inbuilt function provided which says fn:containsIgnoreCase and fn:startWith. But my user would like to add a wild card to select what they want to filter with. how can I do it?  The below code does not work 





    <rich:column width="60px" sortBy="#{wo.displayWO.status}" sortOrder="#{sortingBean.sortOrders['displayWO.status']}"



    public Filter<DisplayWO> getStatusFilter() {

      return new Filter<DisplayWO>() {


       public boolean accept(DisplayWO t) {

       switch (statusFilterNumber) {