I have a displaytag table inside a form.
Each line in the table has a checkbox that will process those selected lines in an Struts 2 action on form submit.
But, if I select a few lines, and then I sort the table by some particular column, the selected checkboxes are lost because the table's requestURI is a link.
What I need is that all processing like paging, sorting and exporting be done through the form submit, instead of an anchor. This way the selected lines would be preserved.
Is this possible?
TIA,
Gabriel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a displaytag table inside a form.
Each line in the table has a checkbox that will process those selected lines in an Struts 2 action on form submit.
But, if I select a few lines, and then I sort the table by some particular column, the selected checkboxes are lost because the table's requestURI is a link.
What I need is that all processing like paging, sorting and exporting be done through the form submit, instead of an anchor. This way the selected lines would be preserved.
Is this possible?
TIA,
Gabriel