• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaytag pagination in Stripes

Gerard Kelly
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic