Woodstock to ICEfaces Component Mapping

webuijsf:table to ice:dataTable

Summary

The webuijsf:table component closely aligns with the functionality of the ice:dataTable component. Some features found in webuijsf:table can be applied to ice:dataTable by means of other components: ice:rowSelector, ice:commandSortHeader, and ice:dataPaginator.

TLD Comparison

Woodstock ICEfaces Comments
Common Attributes    
binding binding -
cellPadding cellpadding -
cellSpacing cellspacing -
id id -
onClick onclick -
onDblClick ondblclick -
onKeyDown onkeydown -
onKeyPress onkeypress -
onKeyUp onkeyup -
onMouseDown onmousedown -
onMouseMove onmousemove -
onMouseOut onmouseout -
onMouseOver onmouseover -
onMouseUp onmouseup -
rendered rendered -
style style -
styleClass styleClass -
summary summary -
toolTip title -
width width -
Similar Attributes    
Unique Attributes    
augmentTitle - -
clearSortButton - -
deselectMultipleButton - -
deselectMultipleButtonOnClick - -
deselectSingleButton - -
deselectSingleButtonOnClick - -
extraActionBottomHtml - -
extraActionTopHtml - -
extraFooterHtml - Use the 'footer' facet.
extraPanelHtml - -
extraTitleHtml - Use the 'header' facet.
filterId - -
filterPanelFocusId - -
filterText - -
footerText - Use the 'footer' facet.
hiddenSelectedRows - -
itemsText - -
lite - -
paginateButton - Use ice:dataPaginator component.
paginationControls - Use ice:dataPaginator component.
preferencesPanelFocusId - -
selectMultipleButton - -
selectMultipleButtonOnClick - -
sortPanelFocusId - -
sortPanelToggleButton - -
tabIndex - -
title - Use the 'header' facet.
visible - -
- bgcolor -
- border -
- clientOnly -
- columnClasses -
- columnWidths -
- dir -
- first -
- footerClass -
- frame -
- headerClass -
- headerClasses -
- lang -
- renderedOnUserRole -
- resizable -
- resizableColumnWidths -
- rowClasses -
- rows -
- rules -
- scrollFooter -
- scrollHeight -
- scrollable -
- sortAscending -
- sortColumn -
- value -
- var -

Usage Examples

<webuijsf:table id="table1" title="Basic Table">
    <webuijsf:tableRowGroup id="rowGroup1"
        sourceData="#{TableBean.groupB.names}" sourceVar="name">
        <webuijsf:tableColumn id="col1"
            headerText="Last Name" rowHeader="true">
            <webuijsf:staticText text="#{name.value.last}"/>
        </webuijsf:tableColumn>
        <webuijsf:tableColumn id="col2" alignKey="first" headerText="First Name">
            <webuijsf:staticText text="#{name.value.first}"/>
        </webuijsf:tableColumn>
    </webuijsf:tableRowGroup>
</webuijsf:table>


<ice:dataTable id="table1" value="#{TableBean.groupB.names}" var="name">
    <ice:column id="col1">
        <f:facet name="header">
            <ice:outputText value="Last Name" />
        </f:facet>
        <ice:outputText value="#{name.value.last}" />
    </ice:column>
    <ice:column id="col2">
        <f:facet name="header">
            <ice:outputText value="First Name" />
        </f:facet>
        <ice:outputText value="##{name.value.first}" />
    </ice:column>
</ice:dataTable>