Table displayed incorrectly with fully loaded last page and page number+1 for page parameter --------------------------------------------------------------------------------------------
Key: DISPL-649 URL: http://jira.codehaus.org/browse/DISPL-649 Project: DisplayTag Issue Type: Test Components: Paging/Sorting Affects Versions: 1.1.1, 1.2 Reporter: Dimitri Dewaele Priority: Minor Following issue was fixed, but is still not working. http://jira.codehaus.org/browse/DISPL-212 After deleting one record from the table, I want a user to be directed back to the current page of records spaning multiple pages. To do this, I direct the user to the same url after deleting that record in Struts action. This works fine as long as the record to be deleted is not the only record of the last page of multiple pages. For example, 41 records are displayed in 3 pages (20 per page). The url for the last page with only one record is as follow: http://fibldnw/test/paydispatch.do?action=payverify&d-16486-p=3 After deleting the last record, there are only two pages of records left. The above url will not display correctly. Changing the value of d-16486-p to any number greater than 3 will direct to the first page correctly however. This actually applies to any situation where the last page is fully loaded and the value of page parameter in the request is the total page number plus 1. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel