The documentation for external sorting / partial lists uses incorrect parameter name which could allow users to believe the functionality does not work. --------------------------------------------------------------------------------------------------------------------------------------------------------
Key: DISPL-455 URL: http://jira.codehaus.org/browse/DISPL-455 Project: DisplayTag Issue Type: Bug Components: Documentation Affects Versions: 1.1 Reporter: Rick Smith Priority: Minor The documentation for external sorting / partial lists indicates the following line of code should be used to determine the specific page that the displaytag has passed back to the request: To determine the starting record you need to return based on the request parameters provided via Display Tag you can do: (Integer.parseInt(request.getParameter((new ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_ORDER)))) - 1) * pageSize I believe the correct parameter should be: (Integer.parseInt(request.getParameter((new ParamEncoder(tableId).encodeParameterName(TableTagParameters.PARAMETER_PAGE)))) - 1) * pageSize -- 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