paging.banner.full: {6} is not the total number of pages --------------------------------------------------------
Key: DISPL-232 URL: http://jira.codehaus.org/browse/DISPL-232 Project: DisplayTag Type: Bug Components: Configuration Versions: 1.0 Fix For: 1.0, 1.1 {6} in the configuration item paging.banner.full does not display the total number of pages (as it should according to the documentation), but the number of page links displayed in the banner. Following is the correction for Pagination.java: Object[] pageObjects = { numberedPageString, ((Href) this.href.clone()).addParameter(this.pageParam, getFirst()), ((Href) this.href.clone()).addParameter(this.pageParam, getPrevious()), ((Href) this.href.clone()).addParameter(this.pageParam, getNext()), ((Href) this.href.clone()).addParameter(this.pageParam, getLast()), this.currentPage, /* (MVL) corrected: should be number of pages: new Integer(pages.size()) */ this.isLast() ? this.currentPage : this.lastPage }; -- 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 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel