Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: 3.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:n/a
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
Description
When using the dataTable inside an ace:panel, using ace:ajax, the cellEditor renders empty editing fields, except for the last row.
Tested on trunk.
[code]
<h:form id="form">
<ace:panel>
<ace:dataTable id="carTable"
value="#{dataTableRowEditing.cars}"
var="car">
<ace:ajax event="editStart"/>
<ace:column id="name" headerText="Name">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="nameCell" value="#{car.name}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="nameInput" value="#{car.name}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="chassis" headerText="Chassis">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="chassisCell" value="#{car.chassis}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="chassisInput" value="#{car.chassis}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="weight" headerText="Weight (lbs)">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="weightCell" value="#{car.weight}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="weightInput" value="#{car.weight}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="options" headerText="Options">
<ace:rowEditor id="editor"/>
</ace:column>
</ace:dataTable>
</ace:panel>
</h:form>
[code]
Tested on trunk.
[code]
<h:form id="form">
<ace:panel>
<ace:dataTable id="carTable"
value="#{dataTableRowEditing.cars}"
var="car">
<ace:ajax event="editStart"/>
<ace:column id="name" headerText="Name">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="nameCell" value="#{car.name}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="nameInput" value="#{car.name}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="chassis" headerText="Chassis">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="chassisCell" value="#{car.chassis}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="chassisInput" value="#{car.chassis}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="weight" headerText="Weight (lbs)">
<ace:cellEditor>
<f:facet name="output">
<h:outputText id="weightCell" value="#{car.weight}"/>
</f:facet>
<f:facet name="input">
<h:inputText id="weightInput" value="#{car.weight}"/>
</f:facet>
</ace:cellEditor>
</ace:column>
<ace:column id="options" headerText="Options">
<ace:rowEditor id="editor"/>
</ace:column>
</ace:dataTable>
</ace:panel>
</h:form>
[code]
The issue will occur also using just the ace:ajax tag.