Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

displaytag: paging WITH external sort

843838Jun 11 2006 — edited Sep 9 2008
I'm doing a paging with external sort on my list as described in http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html

I'm getting the correct results with my paging, but when i click the sort headers, it always shows the FIRST page sorted. When I mouseover the sort header on any page, it shows the encoded page number to be 0, even if i'm on other pages. I have specified the total list size using the size property on the table tag, how do I tell displaytag which page it's currently displayed so that the sort header sorts the correct page?

This is my table tag:
<disp:table name="requestScope.sysProps" pagesize="10" requestURI="Results.do" defaultsort="1" id="results" 
sort="external" partialList="true" size="requestScope.sysPropsSize">
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2008
Added on Jun 11 2006
7 comments
1,347 views