Sort parameters not retained when using PaginatedList and excludedParams="*" ----------------------------------------------------------------------------
Key: DISPL-328 URL: http://jira.codehaus.org/browse/DISPL-328 Project: DisplayTag Type: Bug Components: Paging/Sorting Versions: 1.1 Reporter: Manuel Dominguez Sarmiento Priority: Minor The "sort" and "dir" parameters are not retained in anchor links when using PaginatedList and specifying excludedParams="*". These parameters should be retained. Proposed fix in TableTag.java, line 1084: Replace this code: if (!this.paramEncoder.isParameterEncoded(key)) { baseHref.removeParameter(key); } With this code: if (this.paginatedList != null) { if (!"sort".equals(key) && !"dir".equals(key)) { baseHref.removeParameter(key); } } else { if (!this.paramEncoder.isParameterEncoded(key)) { baseHref.removeParameter(key); } } -- 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 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel