Hello,

Pagination using Flex FDS should be simple. Nevertheless i'ts hard
finding examples of succesfull implementations using pagination with
Flex Data Management Service.

Configuring the destination is eaasy. For example:
     <destination id="product">
         <adapter ref="java-dao" />

         <properties>
             <source>flex.testdrive.store.ProductAssembler</source>
             <scope>application</scope>

             <metadata>
                 <identity property="productId"/>
             </metadata>

             <network>
                 <session-timeout>11</session-timeout>
                 <paging enabled="true" pageSize="5" />
                 <throttle-inbound policy="ERROR" max-frequency="500"/>
                 <throttle-outbound policy="REPLACE"
max-frequency="500"/>
             </network>
         </properties>
     </destination>

But what's the intended way to navigate through the pages returned?  (Or
is pagination only intended for optimised network trafic and will the
result of ds.fill() always return the full result of the fill() method?)

I'm looking for the best "next page", "previous page", "last page",
"first page" solution using FDS.

Thanks in advance for your reply.

Best regards,

Sieto

Reply via email to