ICEfaces EE Composite Components
Tag filterTable


The Filter Table Composite Component

Features

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 Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameFilter Column Composite Component (used in conjuction with the filterTable Component)

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
beantruefalsecom.icesoft.faces.facelets.component.table.filter.FilterTableBeanMust resolve to an instance of the FilterTableBean class
renderedfalsefalsejava.lang.BooleanFlag indicating whether this component should be rendered (during Render Response Phase), or processed on any subsequent form submit (default true).
rowsfalsefalsejava.lang.IntegerPassed through to the ice:dataTable
showDataPagerfalsefalsejava.lang.BooleanFlag indicating whether or not the dataPaginator in the dataTable footer should be rendered (default true).
showRowControlsfalsefalsejava.lang.BooleanFlag indicating whether or not the row controls in the dataTable footer should be rendered (default true).
panelStylefalsefalsejava.lang.StringPassed through to the style attribute on the footer ice:panelGroup containing the dataPaginator and row controls.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered

Variables
No Variables Defined.


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.