13 Replies Latest reply on Dec 3, 2007 3:43 PM by rulinsun

    scrollableDataTable: New values of inputFields will not popu

      RichFaces 3.1.3, I have big form include a scrollableDataTable with some input fields, see example:

      <h:form id="listForm">
      <rich:scrollableDataTable frozenColCount="6" height="400px"
      width="920px" id="mylist" rows="14"
      rowClasses="odd_row,even_row" headerClass="datatableheader"
      value="#{myListController.dataList}" var="aEntry">
      <rich:column>
      <f:facet name="header">
      <h:outputText value="Selected" />
      </f:facet>
      <h:selectBooleanCheckbox value="#{aEntry.selected}" />
      </rich:column>
      ...

      <rich:column >
      <f:facet name="header">
      <h:outputText value="Price" />
      </f:facet>
      <h:inputText value="#{aEntry.price}" size="12">
      <f:converter converterId="javax.faces.BigDecimal" />
      </h:inputText>
      </rich:column>

      ...
      </rich:scrollableDataTable>

      <h:panelGrid columns="3">
      <rich:spacer width="400"/>
      <h:commandButton action="#{myListController.deletedSelected}" value="Remove Selected" />
      <h:commandButton action="#{myListController.saveChange}" value="Save Change" />
      </h:panelGrid>
      </h:form>

      When click the buttons, the new values of either selectBooleanCheckbox or inputText will be pick up by back bean. The printed out values in setters of back bean are unchanged. If I change the scrollableDataTable into dataTable, everything works.

      I believe this is a serious bug, hopefully the support team can fix this quickly.

      Thanks!

      Rulin Sun