Hi,

I just started using displaytag and it works great. One thing I can't get to work is the paging banner.

This is my table:

<display:table class="results" id="event" name="events" pagesize="5" requestURI="customer-subscriptions.html" partialList="true" size="$ {size}" sort="external" defaultsort="1">

The paging banner says "Total 21 items found, displaying 1 to 5" on the first page which is ok. However, when I page on to subsequent pages, it keeps saying "displaying 1 to 5". On the last page, it changes to "Total 21 items found, displaying 1 to 1". So, it is properly receiving the total number (21) of items, and it's paging allright, except for the "N to M items".

Do I need to pass proper values for this from my controller (I'm now passing 'size', containing 21, and the list itself in 'events') or am I missing something else here?

Thanks,

bas.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to