Woodstock to ICEfaces Component Mapping

webuijsf:tableColumn to ice:column

Summary

The webuijsf:tableColumn component closely aligns with the functionality of the ice:column component.

TLD Comparison

Woodstock ICEfaces Comments
Common Attributes    
binding binding -
id id -
rendered rendered -
style style -
styleClass styleClass -
Similar Attributes    
align - Use 'style' to set the 'text-align' property.
height - Use 'style' to set the 'height' property.
valign - Use 'style' to set the 'vertical-align' property.
width - Use 'style' to set the 'width' property.
Unique Attributes    
alignKey - -
descending - -
embeddedActions - -
emptyCell - -
extraFooterHtml - Use the 'footer' facet.
extraHeaderHtml - Use the 'header' facet.
extraTableFooterHtml - Use the 'footer' facet.
footerText - Use the 'footer' facet.
headerText - Use the 'header' facet.
noWrap - -
onClick - -
onDblClick - -
onKeyDown - -
onKeyPress - -
onKeyUp - -
onMouseDown - -
onMouseMove - -
onMouseOut - -
onMouseOver - -
onMouseUp - -
rowHeader - -
scope - -
selectId - -
severity - -
sort - Use the ice:commandSortHeader component.
sortIcon - Use the ice:commandSortHeader component.
sortImageURL - Use the ice:commandSortHeader component.
spacerColumn - -
toolTip - -
visible - -
- colspan -
- groupOn -
- renderedOnUserRole -
- rowspan -

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>