ICE Components
Tag column


Renders a UIComponent that represents a single column of data within a parent UIData component.



Tag Information
Tag Classcom.icesoft.faces.component.UIColumnTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean
colspanfalsefalsejava.lang.String

This is exactly an html colspan attribute. Due to the iterative nature of the table body, this attribute is not suitable inside the body of the dataTable. So this attribute will only be apply on the columns that are descendent of the colmnGroup component.

groupOnfalsefalsejava.lang.String

The groupOn attribute, enables the application to show the one to many relationship in the tabular format. Only the distinct values will be rendered for the grouped column, and its rowspan value will be set to its none distinct count.

Note:
  • Application must provide the sorted data for the grouped column.
  • This attribute is just for the layout, it does not have any effect on the underlying dataModel.
<ice:dataTable var="employee" .. >
  <ice:column groupOn="#{employee.deptName}" >
    <ice:outputText value="#{employee.deptName}"/>
  </ice:colum>
  <ice:column >
    <ice:outputText value="#{employee.name}"/>
  </ice:colum>
.....
</ice:dataTable .. >
idfalsefalsejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderedfalsefalsejava.lang.StringFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
renderedOnUserRolefalsefalsejava.lang.StringIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.
rowspanfalsefalsejava.lang.String

This is exactly an html rowspan attribute. Due to the iterative nature of the table body, this attribute is not suitable inside the body of the dataTable. So this attribute will only be apply on the columns that are descendent of the colmnGroup component.
Hint: The groupOn attribute might give you the result, which you need from the rowspan inside the body of the table.

stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered.
styleClassfalsefalsejava.lang.String

Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.

If this attribute is defined on the column, the new styleClass will be extending the existing styleClasses.


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.