5 Replies Latest reply on Jun 10, 2007 11:34 PM by Yann Laviolette

    rich:datascroller doesn't work

    Yann Laviolette Newbie


      I'am trying to use datascroller but it doesn't work properly. I have a list (moduleList) that contains 4 records. For testing, I use 2 rows for the datatable. Datascroller see that it need 2 pages so it put page 1 and page 2. The problem is that when I click on the 2 or on next there's no changes. I see the query on the database but the GUI isn't refreshed with the new data. Where it can come from?

      I use JSF 1.2, ajax4jsf1.1.1 and richface3.0.1.

      Here's my code.


      <f:loadBundle basename="ca.stratageme.housesynergy.Message" "lang" />
       <rich:dataTable width="483" id="moduleListw" rows="2" value="#{ModuleListBean.moduleList}"
       cellpadding="0" cellspacing="0" var="module" >
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="#{lang.form_admin_module_nommodule}" />
       <h:outputText styleClass="headerText" value="#{lang.form_admin_module_description}" />
       <h:outputText styleClass="headerText"
       value="#{lang.form_admin_module_url}" />
      <h:outputText value="#{module.nom}" />
      <h:outputText value="#{module.description}" />
      <h:outputText value="#{module.url}" />
      <rich:datascroller for="moduleListw" maxPages="20" id="List" />