Project Documentation
Foundation

Summary

Tag name: <s:filterTable>
UIComponent class: org.apache.myfaces.custom.table.FilterTable
Tag class: org.apache.myfaces.custom.table.FilterTableTag
Component type: org.apache.myfaces.FilterTable
Component family: javax.faces.Data
Renderer type: org.apache.myfaces.FilterTable
Renderer class: org.apache.myfaces.custom.table.FilterTableRenderer

Supported Facets

Name Required Description
footer false
header false

Attributes

Name Type Supports EL? Description
alternateRows Boolean Yes default=true see http://dojotoolkit.org filterTable
binding String Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
border Integer Yes default=0
cellpadding Integer Yes default=0
cellspacing Integer Yes default=0
first int Yes The index of the first row to be displayed, where 0 is the first row.
headClass String Yes default=fixedHeader see http://dojotoolkit.org filterTable
id String Yes An identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

maxSortable Integer Yes default=1 see http://dojotoolkit.org filterTable
multiple Boolean Yes default=true see http://dojotoolkit.org filterTable
rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.
rows int Yes The number of rows to be displayed. Specify zero for all remaining rows in the table.
styleClass String Yes CSS style class attribute
tbodyClass String Yes default=scrollContent see http://dojotoolkit.org filterTable
value Object Yes An EL expression that specifies the data model that backs this table. The value can be of any type. A value of type DataModel is used directly. Array-like parameters of type java.util.List, array of Object, java.sql.ResultSet, or javax.servlet.jsp.jstl.sql.Result are wrapped in a DataModel. Other values are wrapped in a DataModel as a single row.
var String No Defines the name of the request-scope variable that will hold the current row during iteration. This value must be a static value.