[ http://jira.codehaus.org/browse/DISPL-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fabrizio giustina resolved DISPL-497. ------------------------------------- Resolution: Fixed Committed for version 1.2, thanks for the patch! > Add sublist support for Pagination > ---------------------------------- > > Key: DISPL-497 > URL: http://jira.codehaus.org/browse/DISPL-497 > Project: DisplayTag > Issue Type: Improvement > Components: Paging/Sorting > Affects Versions: 1.1.1 > Reporter: Kevin Conaway > Fix For: 1.2 > > Attachments: displ-497.patch > > > It is extremely helpful to be able to implement pagination through the > java.util.List#subList(int,int) method when partial lists are being used. > Currently the tableIterator in TableTag always iterates over the first > pageSize elements, no matter which page you're on. When using partial lists, > this forces the client to implement the paging himself. > I've added a new class to return to compute subList indices (if they are > available in the given list) based on the pageNumber and size of the list. > This frees the caller from having to implement his own paging. -- 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: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel