We are using displaytag in quite a few pages, and in several of them
we are using the paging feature. In one instance we see an error in the
banner that is displayed at the top of the page.
We are passing a list of 26 entries to a table with a pagesize of 25.
The banner claims that there are 101 items in the list (below)

101 items found, displaying 1 to 50. [ First / Prev ] 1  2  3 [ Next /
Last ]

Below is the tag:

      <input type="hidden" name="rTableSize"
value="${registrationTblSize}">

  <display:table cellspacing="0" class="listtable" export="true"
requestURI="${uri}"
      name="registrations" id="registration" partialList="true"
size="${registrationTblSize}"
      pagesize="${registrationPageSize}" >

I added the hidden field so that I could be certain what value I am
passing as the size.
It always says the correct size (26). The pagesize value is 25.

The symbol registrationTblSize is an Integer.

Any ideas how I can work around this problem?

Thanks,



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to