2 Replies Latest reply on Feb 5, 2009 8:27 AM by (Travis_A_Jensen)

    Server-to-data-source paging

      Hi, all,

      Im trying to set up a server to data-source paged service.  Ive got everything set up so that Im getting my assembler called and am returning values, but Im not getting paged calls.

      Specifically:

         public Collection fill(List fillArgs, int begin, int rows)

      is always called with begin == -1 and rows == -1, instead of getting real values to page through.  In addition:

         public boolean useFillPage(List fillParameters)

      is never called (my implementation always returns true for all parameters).

      This is my destination configuration:


       
       
          session
          com.williams.finance.invoice.dao.InvoiceReviewListAssembler
         
           
         

         
           
         

       



      And my Flex code for calling the data service:

      myDataService = new DataService("invoiceListDataService");
      myDataService.autoSyncEnabled=false;
      myDataService.fill(myArrayCollection, params);

      Am I missing something in here?

      Thanks.

      tj