First, What is your adapter definition?
Try this:
<adapters>
<adapter-definition class="flex.data.adapters.JavaAdapter"
id="java-dao"></adapter-definition>
</adapters>
Second, add custom=”true” attribute to your paging property.
<paging enabled="true" pageSize="100" custom="true"/>
Third, possibly change your scope to application
Fourth, in your destination definition, add adapter=”java-dao” instead of having a reference to it.
<destination adapter="java-dao" id="invoiceListDataService">
Fifth, make sure you’re Overridding the necessary methods (useFillPage, Collection fill, etc.)
@Override
public boolean useFillPage(List fillParameters)
{
// enabling paged-fill for all fills
return true;
}
See this thread for some helpful responses to a similar problem:
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg111746.html