1 Reply Latest reply on Mar 13, 2011 11:35 AM by boy18nj

    server side pagination + actions

    dilbur

      Hi All,

       

      I have successfully extended "ExtendedDataModal" and using it successfully untill I moved my extended managed bean from session scoped to request scoped.

       

      When the bean was session scoped, server side pagination (lazy loaidng) was working fine and the actions associated with the h:commandLinks or a4j:commandLinks were invoked successfully.

       

      Right now, I changed the scope to "request" and I am using a4j:keepAlive to retain the state of the "ExtendedDataModal". The server side pagination works fine but my actions associated with h:commanLink or a4j:commandLink inside rich:dataTable are no more invoked. Please NOTE I am using a4j:keepAlive to retain the state of the model. Can any one HINT??

       

      here is my implementation of setRowkey and getrowKey

       

          public void setRowKey(Object key) {

              this.dataItem = entityClass.cast(key);

          }      

       

          public Object getRowKey() {

              return dataItem;

          }

       

      if thats relevant