Documentation
JSFToolbox

Search 

Contents

  1. Introduction
  2. Getting Started
  3. Developing Web Sites
  4. Using Components
  5. Internationalization
  6. Code View Support
  7. Design View Support
  8. Keyboard Shortcuts
  9. Tag Object Toolbars
  10. JSF Server Behaviors
  11. Property Inspectors
Selected 12. JSF Tag Reference

10. JSF HTML Tag Reference

Contents > JSF HTML Tag Reference > h:column

h:column

The column tag renders a single column of data within a data table component. A column of data can contain any number of rows depending on the length of the array or list associated with the data table. See the dataTable tag for more information.

Example

<h:dataTable value="#{itemBean.items}" var="item">
  <h:column>
    <h:outputText value="#{item}"></h:outputText>
  </h:column>
</h:dataTable>

HTML Output

<table>
  <tbody>
    <tr><td>Item 1</td></tr>
    <tr><td>Item 2</td></tr>
    <tr><td>Item 3</td></tr>
  </tbody>
</table>

Tag Attributes

binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
rendered Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.