wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Displaytag pagination in Stripes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Displaytag pagination in Stripes" Watch "Displaytag pagination in Stripes" New topic
Author

Displaytag pagination in Stripes

Gerard Kelly
Greenhorn

Joined: Mar 22, 2009
Posts: 11
Hi,

I'm trying to paginate through a List of items using displaytag and Java Stripes but it doesn't seem to work correctly. Everything is working fine but when I click the link for say the 2nd page of results, it does not paginate - ie. the first 2 results are being shown again. Can anyone help?

Here is the jsp code:



And the corresponding TenderActionBean:



The above class extends TenderBaseActionBean which holds the results set - the declaration looks like this:



When I click on pagination link, the searchByTitle (or searchByDescription) action is hit and the search is performed again - is this supposed to happen? The link works correctly (ie. it appears that the second page is being displayed as Page 2 link cannot be clicked) but like I said, the results are incorrect.

Any help with this would be great guys, thanks.
 
wood burning stoves
 
subject: Displaytag pagination in Stripes