Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex/LCDS Server-to-data-source Paging
    primarykey
    data
    text
    <p>I’m trying to set up a server to data-source paged service. I’ve got everything set up so that I’m getting my assembler called and am returning values, but I’m not getting “paged” calls.</p> <p>Specifically:</p> <pre><code>public Collection fill(List fillArgs, int begin, int rows) </code></pre> <p>is always called with <code>begin == -1</code> and <code>rows == -1</code>, instead of getting real values to page through. In addition:</p> <pre><code>public boolean useFillPage(List fillParameters) </code></pre> <p>is never called (my implementation always returns true for all parameters). It looks like it is never called because the JavaAdapter is not receiving the pageSize header from the Flex client.</p> <p>This is my destination configuration:</p> <pre><code>&lt;destination id="invoiceListDataService"&gt; &lt;adapter ref="java-dao" /&gt; &lt;properties&gt; &lt;scope&gt;session&lt;/scope&gt; &lt;source&gt;com.williams.finance.invoice.dao.InvoiceReviewListAssembler&lt;/source&gt; &lt;network&gt; &lt;paging enabled="true" pageSize="100" /&gt; &lt;/network&gt; &lt;metadata&gt; &lt;identity property="invoiceNumber"/&gt; &lt;/metadata&gt; &lt;/properties&gt; &lt;/destination&gt; </code></pre> <p>And my Flex code for calling the data service:</p> <pre><code>myDataService = new DataService("invoiceListDataService"); myDataService.autoSyncEnabled=false; myDataService.fill(invoiceReviewListModel.invoiceList, params); </code></pre> <p>Am I missing something in here? Any ideas where to start looking?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload