From: Khushwinder <cha...@gm...> - 2008-02-01 09:39:20
|
Hi All I am using search in my spring application. its the search for cars module. I have some fields in it for the search. And i am using SimpleFormController for the search purpose. After filling these fields this controller search successfully and the results are displayed on the same page below my search fields. Now my problem is i want that after the submission and search the values of the search fields should remain on the search form as it was. I am using like : protected Object formBackingObject(HttpServletRequest request) throws Exception { return new Car(); } But i know it will not work as i do not require a new object of Car class. What should i do that the field values remain same in the fields.?? I need it urgently if any body can suggest me i will be very thankful. -- View this message in context: http://www.nabble.com/Retaining-values-on-a-search-form-after-submission-tp15223358p15223358.html Sent from the springframework-developer mailing list archive at Nabble.com. |