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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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