This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes select records from multiple pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "select records from multiple pages" Watch "select records from multiple pages" New topic
Author

select records from multiple pages

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
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?


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63060
    
  69

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: select records from multiple pages
 
jQuery in Action, 3rd edition