I have a table. The first column is "code" (for example, ME or VA )and the second column is "description" (for example, Maine or Virginia).
I have used the <h:dataTable ...> based on data stored in the ArrayDataModel (I can also use the ListDataModel) to display the table without problem.
If users enter a letter or letters in the "Filter Criterion" text field and click on the "FIND" button, I would like the table to display the US states that start with that letter or letters. For example, it users enter "ma", the table displays:
ME MAINE MH MARSHALL ISLANDS MD MARYLAND MA MASSACHUSETTS
I wonder if the code has been made re-usable. I did a Google search and saw the Apache Beehive Project "data grid" doing something similar to what I am looking for.
Anyway, I need your guidance. Thanks
subject: Provide Filter Criteria and Display Table