2 Replies Latest reply on Oct 18, 2007 11:25 AM by Ilya Shaikovsky

    rich:datascroller  with <h:commandLink>

    thierry baudouin Newbie


      If i insert <h:commandLink> inside a <h:column>
      , i can't scroll to next page in datascroller.

      If i delete this column (with <h:commandLink>), the scrolling functionality work.

      Here is my code :

      <h:form>
      <rich:datascroller for="licencieList" maxPages="20" />
      <rich:spacer height="10" />
      <rich:dataTable width="483" id="licencieList" rows="20" columnClasses="col"
      value="#{LicencieBean.filteredlist}" var="licencie">
      <f:facet name="header">
      <rich:columnGroup>
      <h:column>
      <h:outputText styleClass="headerText" value="Nom" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Prenom" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Points" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Operations" />
      </h:column>
      </rich:columnGroup>
      </f:facet>

      <h:column>
      <h:outputText styleClass="top_tab" value="#{licencie.lastname}" />
      </h:column>
      <h:column>
      <h:outputText styleClass="top_tab" value="#{licencie.firstname}" />
      </h:column>
      <h:column>
      <h:outputText styleClass="top_tab" value="#{licencie.points}" />
      </h:column>
      <h:column>
      <h:commandLink
      action="#{JoueurBean.loadLicencie}" >
      <h:graphicImage id="imageDetailLic"
      alt="detail"
      border="0"
      url="/images/login.gif">
      </h:graphicImage>
      <f:param value="#{licencie.numlicence}" name="lic"/>

      </h:commandLink>


      </h:column>

      </rich:dataTable>
      </h:form>