I've read the example-paging.jsp page that comes in the WAR file however
I'm still confused on how to get my JSP page to page through the
collection.
I've setup my page as follows:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Test DisplayTag product</title>
</head>
<body>
<display:table name="actionBean.testData" id="item"
pagesize="2">
<display:column title="Name"
sortable="true">${item}</display:column>
</display:table>
</body>
</html>
The paging default info comes up great:
8 items found, displaying 1 to 2.[First/Prev] 1, 2
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-p=2> , 3
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-p=3> , 4
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-p=4> [Next
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-p=2> /Last
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-p=4> ]
Name
</StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4A89918A
C0F05D1?d-49489-s=0&d-49489-o=2>
John
Lennon
I've got 8 records total in this collection and displayTags seems to
have found them but when I click NEXTor the number 2 or click on columna
name Name I get the following text in my browser:
Nothing found to display.
BTW, I am using the Stripes Framework for my web interface and therefore
have actionBeans that contain the collection.
Any help or direction would be greatly appreciated.
Regards.
Melinda Savoy
Sr. Programmer Analyst
Financial Applications - Enterprise Systems
The information contained in this message and any attachments is intended only
for the use of the individual or entity to which it is addressed, and may
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from
disclosure under applicable law. If you are not the intended recipient, you
are prohibited from copying, distributing, or using the information. Please
contact the sender immediately by return e-mail and delete the original message
from your system.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user