ICEfaces
  1. ICEfaces
  2. ICE-10493

CLONE - cellEditor renders empty editing fields when dataTable used with ace:ajax in an ace:panel

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: 3.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      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]

        Activity

        Hide
        Sam Gabriel added a comment - - edited

        As per my comment on the thread this issue is still persistent in ICEFACES 3.3.0

        Show
        Sam Gabriel added a comment - - edited As per my comment on the thread this issue is still persistent in ICEFACES 3.3.0

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Sam Gabriel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: