I have a project where the searches can sometimes take a few seconds, and are run as Xqueries in an eXist database. Since the search returns all of the results, it doesn't make sense to hit the database with the same search each time the user wants to view the next page of results. If you have control over the users setup, and can afford a css/javascript solution, I'd just make each "page" of results a div, set them all to display:none, and use js to show/hide the page the users wants. Chris
> -----Original Message----- > From: Dustin N. Jenkins [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 4:47 PM > To: Cocoon Users Group > Subject: Pagination with dynamic XML (Was How-to CForms with > Pagination) > > Sorry for reposting like this, but I wanted to simplify it a > bit as my frustration is growing fast and I wanted to try and > get feedback faster. > > In all the examples of Pagination I've seen, there's always > been a static file to refer to as the source, but in my case > my paginated list will vary. So I guess my question now is, > has anybody gotten the Pagination to work as expected? I > suppose writing my own wouldn't be all that hard, but I don't > like rewriting something that exists already. > > Many thanks again, > Dustin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
