• Post Reply Bookmark Topic Watch Topic
  • New Topic

Richfaces - filterexpression - need help  RSS feed

 
Chandra Sreeraman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am trying to use filterexpression in a rich:datatable. The RichFaces documentation gives a sample using a JSTL function ( <rich:column filterExpression="#{fn:containsIgnoreCase(cap.timeZone,
filteringBean.filterZone)}">
). This requires another field to be defined that contains the filter expression.

What I want is to use the default filter mechanism given by RichFaces, but have a custom filter ; e.g:




Without the fitler expression, the above code produces a table with the field and a box below it to enter the filter value and the default retuns 'startBy'.
I'd like to add a filter expression that gives me a 'Contains Ignorecase' filter as mentioned previously - i.e., get me all records that have the particular column with matching values.

Has anyone done something similar?

Thanks in advance

Chandra

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!