TableTag: doStartTag() iterates over the whole collection unconditionally.
--------------------------------------------------------------------------
Key: DISPL-448
URL: http://jira.codehaus.org/browse/DISPL-448
Project: DisplayTag
Issue Type: Bug
Components: Paging/Sorting
Affects Versions: 1.1
Reporter: Ivan Garcia Sainz-Aja
TableTag method doStartTag() provoques unconditonal iteration over the whole
collection:
Method doStartTag() does:
- call initParameters() which inits this.tableIterator as this.tableIterator =
IteratorUtils.getIterator(this.list);
- then it just calls doIteration(); wich iterates the whole tableIterator
unconditionally
It doesn't make any sense to iterate all over a collection which is passed to
the TableTag just to be paginated?
--
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel