The page is not being submitted when you go to the second page as a
result you are loosing the selected checkboxes. I had the same problem.
I fixed it but it is work around. I am not sure if the display tag has
any property to be set that will solve the problem. But here is the
solution.
The selecte check boxes will propogate to other pages if you make the
user submit the page. Have another button say Add to cart. The action
should return the user back to the same page without doing anything.
Once the user is done selecting the checkboxes in all the pages the user
has to click the save button to save to the database. I hope this works
for you

--VJ


By: chaituu
 
 Hi,
 I am using a display tag for pagination in my JSP page. I have a
checkbox field
 as one of the columns.  I have a submit button in a page which will
save all
 checked checkbox's status into the database. I also have pagination and
sorting
 in the page.
 
 The problem i have is, i will loose the status of the checkbox when i
go to
 second page. If i select some of the checkboxes in page 1 and go to
page 2 to
 select some more and if i come back, i loose all the selected
checkboxes in
 page 1.
 
 Is there a way where i could save my check boxes in session and its
checked
 while i browse across pages and gets submitted all at once.
 
 Any help is appreciated
 
 Thanks 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to