I want to use external paging.
My application fetches say 50,000 records from the
database and the requirement is to show only first
1000 records. 

So I decided to use external paging without
implementing the PaginatedList interface.

This is the code from JSP

<display:table name="sessionScope.dList" 
requestURI="displayTag.htm"  sort="external"
defaultsort="1" pagesize="20" id="element"
partialList="true" size="<%=new Integer(1000)%>" >

<display:column property="memberId" title="ID"
sortable="true" sortName="id" />
 . .
 . . 
 . . 
 

</display:table>

It shows the total number of pages correctly, it also
shows correct navigation of pages, but the actual data
remains the same no matter which page one goes to, i.e
first 20 records.

On reading further I realized that I need to set from
parameter of the list, problem I have is where to set
this parameter.

I am using Spring MVC.


Any help on this will be highly appreciated.

Thanks 

Diana.



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to