posted 16 years ago
Hi All,
I am facing a problem in my spring application while implementing my search module.
I have few search fields on my search page and i am using the "SimpleFormController" controller for searching. Obviously onSubmit() method will be called on clicking the submit button of my form.
It performs the search very well. But after performing this search the results comes in the form of pagination with 1,2,3.....n number of pages.
And on clicking each of these numbers i have to call the same method i.e.
onSubmit() method. But these numbers are just hyperlinks i cant not submit the form on clicking them.
They are like :
I am not finding any solution how to submit this form and again calling onSubmit() method or should i use another spring controller or should i use separate controller on clicking but thats not the best way.
Please advise me.
I will be very thankful to you for this.
Regards,