I'm building a site where I'm showing a selection of DataObjects on a page, using the default DataObjectSet Pagination. This works fine, but now I want to use Ajax to load the next batch of objects into a wrapper div, without having to reload the entire page.
What I'm doing is have a jQuery click event load the pagination link into the wrapper div, adding an extra urlsegment, athat calls my Page's AjaxPagination() action. So:
myURL/?start=9&... becomes /myURL/AjaxPagination/?start=9&...
Normal pagination would still work when javascript is disabled, so this would work splendidly, if only the DataObjectSet pagination wouldn't use HTTP::setGetVar() to compose the links. Now the extra url bit is added permanently to the paginationlinks. If the DataObjectSet would just return the querystring and let me add the page Link() manually this would be such an elegant and extremely simple solution...
Has anyone done this before or have ave any ideas on this? It would be much appreciated...