How to know if view contents is more than one page on web

Greetings All,

I have created two action links “Next Page” and “Previous Page” using @dbcommands in my $$ViewTemplateDefault.

Now, how do I hide these links if the view is only one page or there is no previous/next page?

Thanks in advance

Basir

Subject: How to know if view contents is more than one page on web

Basir, this topic has probably been dealt with countless times in this forum and on various technical blogs. The simple answer is: There is no simple one-fits-all solution.

Approaches range from running @DbColumns against the view in question (and calculating the number of pages based on how many documents you display per page) over WebQueryOver agents to hand-crafted AJAX applications and finally to using frameworks like Ext.nd, that care about pagination automatically. As far as I know, there is still no simple and mature solution for categorized views, but for flat views there are literally dozens of solutions.

Search this forum, codestore and other Domino sites and you will find many suggestions.