Please disregard the email below.
Regards.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Savoy, Melinda
Sent: Tuesday, November 06, 2007 11:29 AM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Question on paging
I actually found a partial solution to my question below but that
solution example I found uses the DisplayTagHelper class which I do not
see in the displaytag-1.1.1 imported classes.
Can someone please tell me what is the class comparable to that for my
use?
Any help or direction would be greatly appreciated.
Regards.
_____________________________________________
From: Savoy, Melinda
Sent: Tuesday, November 06, 2007 9:14 AM
To: 'displaytag-user@lists.sourceforge.net'
Subject: Question on paging
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
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?d-49489-p=2> , 3
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?d-49489-p=3> , 4
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?d-49489-p=4> [Next
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?d-49489-p=2> /Last
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?d-49489-p=4> ]
Name
<file:///StripesWebApp/testdisplaytags.jsp;jsessionid=55C4BD09B7A7D541E4
A89918AC0F05D1?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.
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