ICEfaces EE Composite Components
Tag expandableTable


Expandable Data Table Composite Component

Features

How To Use

  1. Wrap your dataTable records in com.icesoft.faces.facelets.component.expandabletable.ExpandableRecord, using the parent or child constructor as necessary.
  2. Use the expandableTable tag and specify the id and columns attributes.

Example:
<ice-cc:expandableTable id="expTbl" bean="#{salesRecordsManager}" value="#{salesRecordsManager.salesGroupRecordBeans}" cellpadding="0" width="500px" columnClasses="dummy, dummy, dateColumn, dummy, dummy, dummy"/>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameExpandable Table Composite Component

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.StringA unique id for the component.
valuetruefalsejavax.faces.model.DataModelThe data model for this component.
columnstruefalsejava.lang.StringComma-delimited list of column name
imageDirfalsefalsejava.lang.StringSet directory for location of the images.
expandImagefalsefalsejava.lang.StringThe expandImage is the name of the expand image to be used by the expandable table (default "tree_nav_top_open_no_siblings.gif")
contractImagefalsefalsejava.lang.StringThe contractImage is the name of the contract image to be used by the expandable table (default "tree_nav_top_close_no_siblings.gif")
bgcolorfalsefalsejava.lang.StringName or code of the background color for this table.
borderfalsefalsejava.lang.StringWidth (in pixels) of the border to be drawn around this table.
cellpaddingfalsefalsejava.lang.StringDefinition of how much space the user agent should leave between the border of each cell and its contents.
cellspacingfalsefalsejava.lang.StringDefinition of how much space the user agent should leave between the left side of the table and the leftmost column, the top of the table and the top of the top side of the topmost row, and so on for the right and bottom of the table. It also specifies the amount of space to leave between cells.
columnClassesfalsefalsejava.lang.StringComma-delimited list of CSS style classes that will be applied to the columns of this table. A space separated list of classes may also be specified for any individual column. If the number of elements in this list is less than the number of columns specified in the "columns" attribute, no "class" attribute is output for each column greater than the number of elements in the list. If the number of elements in the list is greater than the number of columns specified in the "columns" attribute, the elements at the posisiton in the list after the value of the "columns" attribute are ignored. If the value of this attribute is not being set, the tableRenderer would render the default classes using the following pattern (e.g.) .... The above class pattern would allow you to define the base style in the "column" class and if you want to customize any of the specific column you can override the column+index class.
rowClassesfalsefalsejava.lang.StringComma-delimited list of CSS style classes that will be applied to the rows of this table. A space separated list of classes may also be specified for any individual row. Thes styles are applied, in turn, to each row in the table. For example, if the list has two elements, the first style class in the list is applied to the first row, the second to the second row, the first to the third row, the second to the fourth row, etc. In other words, we keep iterating through the list until we reach the end, and then we start at the beginning again. The default classes rendered as iceDatTblRow1, iceDatTblRow2 alternatively.
footerClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) that will be applied to any footer generated for this table. The default classe rendered as iceDatTblFtr.
headerClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) that will be applied to any header generated for this table. The default class would rendered as iceDatTblHdr.
headerClassesfalsefalsejava.lang.StringThis attribute can be used to define the separate style classes for the each header of the each column. The default would rendered as : iceDatTblColHdr1, iceDatTblColHdr2 alternatively Note: The attribute has been deprecated.
rulesfalsefalsejava.lang.StringCode specifying which rules will appear between cells within this table. Valid values are: none (no rules, default value); groups (between row groups); rows (between rows only); cols (between columns only); and all (between all rows and columns).
summaryfalsefalsejava.lang.StringSummary of this table's purpose and structure, for user agents rendering to non-visual media such as speech and Braille.
firstfalsefalsejava.lang.IntegerZero-relative row number of the first row to be displayed. If this property is set to zero, rendering will begin with the first row of the underlying data.
framefalsefalsejava.lang.IntegerCode specifying which sides of the frame surrounding this table will be visible. Valid values are: none (no sides, default value); above (top side only); below (bottom side only); hsides (top and bottom sides only); vsides (right and left sides only); lhs (left hand side only); rhs (right hand side only); box (all four sides); and border (all four sides).
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.IntegerThe number of rows to display, starting with the one identified by the "first" property. If this value is set to zero, all available rows in the underlying data model will be displayed.
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied when this element is rendered.
titlefalsefalsejava.lang.StringPassed through to underlying component
widthfalsefalsejava.lang.StringSets the width of the displayed area for the Component

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.