0 Replies Latest reply on Dec 9, 2011 1:23 PM by u j

    setting page on datascroller does not set page on a4j:repeat

    u j Novice

      In a backing bean I set the page of a datascroller upon some action.

      However, the page of the associated a4j:repeat is not switched, not even on a page reload.

       

      RichFaces 4.1.0.M4

       

      Thanks

       

       

      <a4j:outputPanel id="grid" >

      <a4j:repeat id="result" value="#{bean.searchResult}"

      var="item" first="0" rows="6" iterationStatusVar="it">

      <rich:panel >

      <h:commandLink value="#{item.name}"

      actionListener="#{bean.link(item.id, it.index)}" />

      </rich:panel>

      </a4j:repeat>

      </a4j:outputPanel>

       

      <rich:dataScroller fastStep="10" for="result" render="grid"

      renderIfSinglePage="false" id="ds" page="#{bean.searchResultPage}"/>