1 Reply Latest reply on Mar 10, 2008 11:03 AM by Tsikhon Kuprevich

    Problem updating from 3.1.2 GA --> 3.1.4

    Martin Grüneberg Newbie

      Hello, I don't know if it is a problem of the richfaces lib or my implementation.
      I tried today to update the richfaces jars in my Project on the first look all was well but then I found a Problem:

      I have a datatable with sortable columns and a datascroller. With 3.1.2 GA I can scroll the pages and sort the table like it should be.
      With 3.1.4 I can only sort the table before I first use the datascroller. After that the sort links don't work anymore.
      With firebug I investigated that in 3.1.2 GA the component IDs where stable over the datascroller ajax requests. With 3.1.4 the IDs change after an datascroller request...
      Here is a shorted part from my facelet. The backing bean is in session scope.
      Any Idea?

      <rich:dataTable id="list" value="#{bean.resultList}" var="item"
      rows="10" rendered="#{bean.resultList.rowCount > 0}" binding="#{bean.resultList.table}">
      <rich:column headerClass="tablecell_200">
      <f:facet name="header">
      <a4j:commandLink reRender="list" action="#{bean.sort}"
      <f:param name="by" value="cit_searchcode" />
      <h:commandLink action="#{showDetails.showDetailsView}">
      <f:param name="oid" value="#{item.oid}" />
      <h:outputText value="#{item.searchcode}" />
      <f:facet name="footer">
      <rich:datascroller for="list" rendered="#{bean.resultList.rowCount > 10}"
       inactiveStyleClass="datascroller_inactive" styleClass="datascroller"
      selectedStyleClass="datascroller_active" tableStyleClass="datascroller"
       boundaryControls="show" stepControls="hide"

      Thanks in advance