Hi all,
I figured out the solution to this and it was quiet simple. :jumpingjoy:
Before in my onSubmit method I was creating a new ModelView and doing a redirect to my successview (that is why I was losing the request)...
Code:
mav = new ModelAndView(successView);
return mav;
But now I just did the following...
Code:
else if (pagingRequest != null && pagingRequest.length() > 0)
{ // if paging action go back
return showForm(request,response,errors);
}
This fixed it. Now I have my request parameters in my referenceData method and I get the correct data for each page.
Thanks all for any help.