Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag column

## Easy Column Composite Component

### Features

- Useful when creating basic tables with text headers and cell content.
- Does not require extra bean code.

### How To Use

1. Create an ice:dataTable
2. Use the 'title' attribute for the column title and the 'value' attribute for the cell contents
3. If you wish to use ice:commandSortHeader, use the 'name' attribute to populate the ice:commandSortHeader columnName attribute and set the 'sortable' attribute to true

Example:

    <ice-cc:column title="ID" value="#{row.id}" name="id" sortable="true"/>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Column Composite Component

Attributes
Name | Required | Request-time | Type | Description
title | false | false | `java.lang.String` | Sets the header title for the column
name | false | false | `java.lang.String` | The name of the column property, used for sorting (only required when 'sortable' set to true)
value | true | false | `java.lang.Object` | The value binding for the column
sortable | false | false | `java.lang.Boolean` | Sets whether the column will be sortable (default false)

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.