ICEfaces
  1. ICEfaces
  2. ICE-9384

rowSelectListener converting/validating ace:datatable contents

    Details

    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Affects:
      Compatibility/Configuration

      Description

      The rowSelectListener method is not executed / silently fails when the ace:dataTable contains cells that fail validation/conversion. According to the ace:datatable tld "Decoding children during feature requests can result in unwanted input submission (during pagination for example), so by default this component suppresses child decoding whenever submitting itself." The rowSelectListener appears to be decoding components in the ace:dataTable.

      To re-create this issue, modify dataTableListener.xhtml name column to the following:
                      <ace:column id="name" headerText="Name">
                          <h:inputText id="nameCell"
                                       value="#{car.name}"
                                       required="true"
                                       size="7">
                          <f:ajax execute="@this" render="@this" />
                          </h:inputText>
                      </ace:column>

      Add a System.out.println to DataTableListener selectListener method.

      When you select rows, you will see the selectListener method executed. Empty one of the name cells (which has required="true") and try selecting a row. You will see the row selection style applied in the browser, but the selectListener will not be executed on the server.

        Activity

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: