File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
 
subject: Displaytag pagination in Stripes
 
Similar Threads
Stripes: prepopulated forms question
Creating an edit action in Stripes
One of My Favorite Stripes Features (A Complex Example)
[Stripes] forms: display errors from @ValidateNestedProperties
[Stripes] @ManyToOne relationships: NULL id