CellEditor

Table of Contents

Overview

Since 3.0

The ace:cellEditor renders a hidden input and visible display facet to be toggled between by the ace:rowEditor when using row-specific editing.

See the ICEfaces Showcase Live Demo of this component, complete with source code.

Getting Started

<ace:dataTable var="single"
               value="#{viewBean.objectList}">
    <ace:column headerText="UPC">
        <h:outputText value="#{single.upc}"/>
    </ace:column>

    <ace:column headerText="Artist">
        <h:outputText value="#{single.artist}" />
    </ace:column>

    <ace:column headerText="Album">
        <h:outputText value="#{single.album}"/>
    </ace:column>

    <ace:column headerText="Name">
        <h:outputText value="#{single.name}"/>
    </ace:column>

    <ace:column headerText="Sales">
        <ace:cellEditor>
            <f:facet name="output">
                <h:outputText value="#{single.sales}"/>
            </f:facet>
            <f:facet name="input">
                <h:inputText value="#{single.sales}"/>
            </f:facet>
        </ace:cellEditor>
    </ace:column>

    <ace:column headerText="Edit Sales">
        <ace:rowEditor />
    </ace:column>
</ace:dataTable>

Attributes

This component has no attributes.

TagLib Documentation
For reference, the complete taglib documentation for this component is available here.

Known Issues

Other Resources

Related Components

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.