Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Richfaces - filterexpression - need help

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

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,
). 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


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic