Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag filterTable

## The Filter Table Composite Component

### Features

- Automatic row filtering
- No filtering code required
- Instantaneous filter updates on every keystroke
- Apply multiple filters at once

### How To Use

1. Use the <ice-cc:filterTable/> tag on your page
2. Bind the 'bean' attribute to an instance of FilterTableBean
3. Use the <ice-cc:filterColumn/> tag for any columns that you wish to be filtered
4. Use the <ice-cc:column/> tag for any columns that you do not wish to be filtered
5. Specify the 'title' attribute for each column tag
6. Specify the 'value' attribute for each column tag (please note that the variable name 'row' must be used, see example)
7. Specify the 'property' attribute for each filterColumn tag. This must associate with the property name used in the column

Example:

    <ice-cc:filterTable bean="#{filterTableExampleBean.filterTableBean}" id="filterTable"> <ice-cc:column title="ID" value="#{row.id}" /> <ice-cc:filterColumn title="First Name" value="#{row.firstName}" property="firstName" /> <ice-cc:filterColumn title="Last Name" value="#{row.lastName}" property="lastName" /> </ice-cc:filterTable>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Filter Column Composite Component (used in conjuction with the filterTable Component)

Attributes
Name | Required | Request-time | Type | Description
id | true | false | `java.lang.String` | A unique id for the component.
bean | true | false | `com.icesoft.faces.facelets.component.table.filter.FilterTableBean` | Must resolve to an instance of the FilterTableBean class
rendered | false | false | `java.lang.Boolean` | Flag indicating whether this component should be rendered (during Render Response Phase), or processed on any subsequent form submit (default true).
rows | false | false | `java.lang.Integer` | Passed through to the ice:dataTable
showDataPager | false | false | `java.lang.Boolean` | Flag indicating whether or not the dataPaginator in the dataTable footer should be rendered (default true).
showRowControls | false | false | `java.lang.Boolean` | Flag indicating whether or not the row controls in the dataTable footer should be rendered (default true).
panelStyle | false | false | `java.lang.String` | Passed through to the style attribute on the footer ice:panelGroup containing the dataPaginator and row controls.
style | false | false | `java.lang.String` | CSS style(s) to be applied when this component is rendered

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.