Hi! I'm having a problem with displaytag-el 1.1. I'm using the external sorting and pagination, and selecting just the page-worth of data from the db. I pass the total number of records to display tag, and it displays perfectly. Let's say I have a total of 14 records, and my page size is 5.
If I use the offset attribute, it displays the first page perfectly, shows just one record on the second page, and no records on the third one. However, the banner shows 14 as a total number of records and says there are three pages. If I omit the offset attribute, It shows all the data correctly on all pages, the banner shows three pages available, but on all three pages it says "displaying 1 to 5", even though it shows the current page number correctly. Is it a bug or I'm doing something wrong? Here's the code: <display:table name="subscribers" pagesize="${pageSize}" partialList="true" size="totalRecords" sort="external" id="subscribersTable" defaultsort="1" defaultorder="ascending" > ..... my columns...... </display:table> All the variables are being set correctly. Thank you! Dmitriy ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user