I have bound an xp:repeat control to Domino Access Services (DAS) via a Jersey Client. The JSON is then mapped to a Java object via the Jakcson library.
Since the number of documents displayed via DAS is restricted in the server document I would like to include an infinite scroll function so a next set of documents can be attached to the xp:repeat control.
I wonder how I should this? The numbers in the repeat control I can capture via
var numbers = getComponent("rptPersons").getRowCount();
So I can make a new http call so the URL for the Jersey client becomes something like
db.nsf/api/data/collections/name/people?start=' + (numbers +1) + "&count=" + numbers
But how should I 'inject' the received results into the existing Java object?