Dale, I've seen this question before and I'll say what I said then. There is no way built into displaytag to do this. I'm sure you could come up with a way to do it. Just because you can come up with a way to do it, though, doesn't make it a good idea. As an interface element, having selections that are no longer viewable or editable is a really bad idea. I understand the *requirement*, but the solution isn't advisable.
Instead, you should look at the idea of having an accumulation list accompany your display table. By that, I mean something where the user selects one or more items from the currently displayed page (with the checkbox controls identified by, e.g., database ID, list index, or whatever) then clicks an Add button. This adds the selected items to a list to the right of the display table. Then, as the user pages through the display table, the selected items are always viewable in the accumulation list. Items can be removed from the accumulation list with a remove button. So the interface looks something like this (fixed font req'd): ( ) Item 1 (Empty) ( ) Item 2 Add-> ( ) Item 3 <-Del ( ) Item 4 Now select Item 2. ( ) Item 1 (Empty) (*) Item 2 Add-> ( ) Item 3 <-Del ( ) Item 4 Click Add: ( ) Item 1 ( ) Item 2 ( ) Item 2 Add-> ( ) Item 3 <-Del ( ) Item 4 Go to next page: ( ) Item 5 ( ) Item 2 ( ) Item 6 Add-> ( ) Item 7 <-Del ( ) Item 8 There ya go. Rick Herrick [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:displaytag-user- > [EMAIL PROTECTED] On Behalf Of Dale > Sent: Tuesday, April 12, 2005 7:57 PM > To: [email protected] > Subject: [displaytag-user] Checkboxes and Paging > > I hope you have time to answer this inquiry. Sorry if it's lame. I only > was able to dig into the http://www.displaytag.org/index.jsp, which is a > fantastic bit of work, by the way. All of the examples are great; the > coolest documentation I've seen in sourceforge land! > > Anyway, I wanted to implement a list where the user would select things > from > a list, page down, and maybe select more things, page up, and still see > those items previously checked. I saw > http://www.displaytag.org/example-paging.jsp, but of course no checkboxes > on > that example. > > Is that asking for checkboxes too much? I don't have a problem with > capturing the selected item id's (unique) in the servlet, but I didn't see > how I'd communicate the "selection" information back to the taglib so the > html would render with the checkbox selected if the user paged backwards. > > Thanks. > > --Dale-- > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > displaytag-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

