Hello,
I'm trying to use paging on my resultset retrieved from livecycle 2.6.
In my resulthandler I only get 1result in my arraycollection(but the
pagesize is set to 10!) and the count of the arraycollection 3500 (so in
total 3500 results). When I try to loop over the array (he should
automaticly retrieve more items -> said in documentation), I get *Error:
Item requested is not available. A request for the item is now pending.
*
I've been googling and saw that it was a bug toward 2.4 of livecycle but
running 2.6... And why am I just retrieving one result instead of 10(my
specified page size)?
Here is some extra code
The looping in teh resulthandler
* private function searchResult(evt:ResultEvent):void
{
for each(var obj:Webcam in foundCams)
{
trace("-->"+obj);
}
}
*and the initializing of the data service object
* searchService = new DataService("search");
var myrtmp:RTMPChannel = new RTMPChannel("my-rtmp",
"rtmp://*************:2038");
searchService.channelSet = new ChannelSet();
searchService.channelSet.addChannel(myrtmp);
searchService.addEventListener(ResultEvent.RESULT,searchResult);*
Thanks,
Ward