6 Replies Latest reply on Feb 15, 2008 7:39 AM by Serkan Toprak

    rich:datascroller - Internet Explorer Problem (v.3.1.3.GA)

    Serkan Toprak Newbie

      Hi,

      We are using rich:dataTable with rich:datascroller for pagination. We wanted to add a last column for deleting the record shown in the corresponding row. Therefore, we added h:commandlink as the last column. This works as expected in Firefox (we can navigate over pages without problems), however in IE (6+), pagination does not work and it does not give any errors.

      Is it a bug of the component or am I missing something? You can easily test the situation by adding a column to DataTableScroller demo code as follows and adding a dummy deleteAction() method to DataTableScrollerBean class.

      <rich:datascroller align="left" for="carList" maxPages="20" />
      <rich:spacer height="30" />
      <rich:dataTable width="483" id="carList" rows="10" columnClasses="col"
      value="#{dataTableScrollerBean.allCars}" var="category">
      <f:facet name="header">
      <rich:columnGroup>
      <h:column>
      <h:outputText styleClass="headerText" value="Make" />
      </h:column>
      .
      .
      .
      <h:column>
      <h:outputText styleClass="headerText" value="Actions" />
      </h:column>
      </rich:columnGroup>
      </f:facet>

      <h:column>
      <h:outputText value="#{category.make}" />
      </h:column>
      .
      .
      .
      <h:column>
      <h:commandLink action="#{dataTableScrollerBean.deleteAction}">
      <h:outputText value="delete"/>
      </h:commandLink>
      </h:column>


      </rich:dataTable>

      Thank you,
      Serkan Toprak