Include a default implementation for PaginatedList
--------------------------------------------------

                 Key: DISPL-431
                 URL: http://jira.codehaus.org/browse/DISPL-431
             Project: DisplayTag
          Issue Type: Improvement
          Components: Paging/Sorting
            Reporter: Ignacio Coloma
         Attachments: PaginatedListImpl.java, PaginatedListImplTest.java

Having a default implementation for the PaginatedList interface in DisplayTag 
would be nice. We have developed one and I have permission to contribute it, 
knowing that it could at least serve as a default implementation.

This one knows how to instantiate itself from the HttpServletRequest, has a 
factory method to instantiate a huge instance, reasonable toString() 
implementation and a cool addOrderBy that given a SQL/HQL query adds a new 
ORDER BY clause.

(The test class is developed with TestNG, but should be easy to port)

-- 
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
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to