Hi all,
I have some data that I want to pass from the onSubmit method of my MVC Controller (extends SimpleFormController) to the referenceData method of that controller. How can I go about doing this?
It is not as simple as putting it as a request attribute because when the code comes to the referenceData a new request is created.
If you are wondering why I need to do this, it is for pagination. In the referenceData method is where I get the default list of rows from the db. But once the user pages I do a form submit on my
JSP and get the next page in my onSubmit. The problem now is that when the code comes back to the referenceData after that submit it is overwritting the "paged" list with the original list.
Thanks in advance for any help.