Having recently started working with Stripes, I am trying to customize the number of records displayed on a paginated table based on the dropdown selection ("show ## records per page"). However, I am struggling to set the value of the "recordsPerPage" variable in the action bean and update the table accordingly. Any assistance would be greatly appreciated.
-- Additional Information --
The table I am using is a displaytag table that accepts a PaginatedList and is located within a stripes form.
-- EDIT:
In my attempt to address this issue, I included a <stripes:hidden/>
element with the name "recordsPerPage" and specified the desired number of records to display. Additionally, I added a <stripes:submit>
button within the same form. By setting the "name" attribute of this button to the method name of the action bean, I was able to achieve the desired functionality upon clicking the button. However, I now face challenges in implementing the same functionality using javascript. Assistance in resolving this matter would be highly appreciated.