[jira] (DISPL-684) Add the sorting parameters into the pagination link when using paginatedList

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] (DISPL-684) Add the sorting parameters into the pagination link when using paginatedList

JIRA jira@codehaus.org
Issue Type: Improvement Improvement
Affects Versions: 1.2
Assignee: Unassigned
Created: 12/Sep/12 12:20 PM
Description: *Test Data*:

Display Table:
    <display:table id="table" name="${data}" requestURI="submit.html" export="true" pagesize="${pageSize}" class="displayTable" sort="external" partialList="true" size="${fullListSize}"

We implemented PaginatedList to provide the data and pagination/sorting data to display table.

*Test Case*:
1. Sort by a column
2. Click page 2

Result = Sorting Column and Sorting Direction are lost because the pagination URL does not have any sorting parameters.

We are proposing that the URL generated for the pagination links contain the sorting parameters if specified by a parameter using setProperty.

*Example*:
 - *Current Pagination URL*": page=2
 - *Proposed Pagination URL*: page=2&sort=id&dir=asc
Project: DisplayTag
Priority: Major Major
Reporter: Paul Cutajar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
displaytag-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel