2 Replies Latest reply on Oct 23, 2007 6:58 AM by Blondel Michaël

    datatable scroller

    Blondel Michaël Newbie

      I try to use the datatable scroller but I have this error :

      avax.servlet.ServletException: could not find dataTable with id 'dataList'

      My example :

      <rich:datascroller align="left" for="dataList" maxPages="20" />
      <rich:spacer height="30" />
      <rich:dataTable width="500" id="dataList" rows="10" columnClasses="col"
       rowKeyVar="rowKey" value="#{exaProductBean.products}" var="product">
       <rich:column id="text">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Name" />
       <h:outputText value="#{product.productName}" />
       <rich:column id="label">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Label" />
       <h:outputText value="#{product.productType}" />

      I don't know why it doesn't work. Thanks for your help.