7 Replies Latest reply on Jul 1, 2009 9:31 AM by a_van

    a4j:commandlink inside rich:datatable  not working for next

    a_van

      I have a rich:datatable with datascroller. i have a4j:commandlink column inside the datatable. a4j:commandlink is working only for the first page of the datascroller. its not working for the other pages. this is the code sample

      <a4j:outputPanel ajaxRendered="true">

      <rich:dataTable height="100%" width="400" columns="2" border="0" id="detailList" cellpadding="0" cellspacing="0" value="#{TicketReportBean.mList}" var="detail" rows="20" reRender="ticketReportFooter">
      <rich:column>
      <f:facet name="header">
      <h:outputText value="Time to Resolve (min)" style="font-size: 10px;"/>
      </f:facet>
      <h:outputText id="resolveId" style="font-size: 10px;" value="#{detail.ttrBucket}"/>
      </rich:column>
      <rich:column>
      <f:facet name="header">
      <h:outputText value="Ticket Count" style="font-size: 10px;"/>
      </f:facet>
      <a4j:commandLink rendered="true" id="sevLink" name="sevLink" event="onclick"
      value="#{detail.howMany}" style="font-weight: bold;color: blue;" action="#{TicketReportBean.ticketDetailDrillDown}" reRender="gddDetail2Grid" onclick="showajaxwait();" oncomplete="hideajaxwait();">
      <f:param id="bucketId" name="bucketId" value="#{detail.ttrBucket}"></f:param>
      <f:param id="sevId" name="sevId" value="#{detail.sev}"></f:param>
      </a4j:commandLink>
      </rich:column>
      <f:facet name="footer">
      <rich:datascroller id="ticketReportFooter" rendered="#{TicketReportBean.detailListSize > 25}" fastControls="auto"/>
      </f:facet>
      </rich:dataTable>
      </a4j:outputPanel>