RowEditor

Table of Contents

Overview

Since 3.0

The ace:rowEditor renders a set of controls that reveal, submit and hide the hidden input facet of ace:cellEditor.

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.

Event Listeners

rowEditListener Used to define a server side FacesListener which will be notified each time a row edit is completed. The listener receives a single RowEditEvent argument. The server event is fired the same lifecycle as 'editSubmit' table client event.
rowEditCancelListener Used to define a server side FacesListener which will be notified each time a row edit is canceled. The listener receives a single RowEditCancelEvent argument. The server event is fired the same lifecycle as 'editCancel' table client event.

Client Behaviours

EditStart, editCancel and editSubmit Behaviours of ace:dataTable are triggered by this control.

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.