• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select records from multiple pages

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a resultset of 100 records. 10 records are displayed and pagination is displayed for the users to navigate to other pages. All this is accomplished using jstl.

if the user selects 2 records on page 1, navigates to page 2 and selects 2 more records, only the records from page 2 get selected. how can the records from page 1 and page 2 get selected? how can i retain selected records between pages?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't mention what you are using on the back end. You could retain this information across multiple pages in the session, if using servlets. Or, you could carry the selections across pages by creating hidden inputs to hold them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic