-
Dec 15th, 2008, 08:56 PM
#1
Form editing with SimpleFormController
Hi,
My requirement is to show list of employee details as a result of search operation and i have to edit the employee details by clicking on employee id.
Now the problem is when i am using SimpleFormController i am preparing the Employee bean to be edited in formBackingObject() method by taking the request Parameter empId. First time when i clicked on the edit link its getting the Employee details and showing in the form. But when i change the values and submit it, it is again calling the formBackingObject() method which is not to be done in this scenario.
I am newbie to Spring, i think the above said approach is not correct. Can any body let me know how to handle this scenario.
Thanks,
K. Siva Prasad Reddy.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules