Yes, you must provided displaytag with the full size of the list,
regardless of how many results you are displaying per page (don't forget
the "partialList" attribute, either).. I have a getCount() method in my
DAO to handle that.
Jason
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Narayani Narayanan
Sent: Saturday, December 02, 2006 2:16 PM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] external paging and sorting sample code
I am alreay doing that , I have implemented the class paginatedList,
thru its constructor I am sending the subset of data, but I am confused
with size attribute, am I suppose to get the fullsize for every query ,
does the displaytag automatically handle the page number etc...
Thanks for the response I appreciate it!
Thanks
NN
Kallol Bose <[EMAIL PROTECTED]> wrote:
for external sorting just add 'sort=external' as an attribute to
your table tag.
On 11/30/06, Rachel Ray <[EMAIL PROTECTED]> wrote:
Is there no examples to show how this should be done,
documentation does not say much. I am using springMVC and hibernate.
Everthing works fine with auto paging, but I know this will break once
my data volume is more, I want to implement external paging and sorting
but i dont find anything clear for this...please help!!!!!
________________________________
Everyone is raving about the all-new Yahoo! Mail beta.
<http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/m
ailbeta>
------------------------------------------------------------------------
-
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=DEVDE
V
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
------------------------------------------------------------------------
-
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=DEVDE
V_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user
________________________________
Check out the all-new Yahoo! Mail beta
<http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/m
ailbeta> - Fire up a more powerful email and get things done faster.
-------------------------------------------------------------------------
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-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user