I have a form with multiple rows, each row having some editable fields which are mapped to the property of the model class through form input path and a submit(edit) button.
Now, the problem is while submission, I am not able to dynamically append some id to the path to identify the submitted record and get its values in the controller. This is required because every form input path is having same name in each row.
public class FormBean {
Integer record id;
Integer amt1;
Integer am2;
}
and form has multiple rows, each row is mapped to some properties of form bean like
<form:input path = amt1>
Is there any way to identify the submitted record(the editable fields) based on id and edit the values.
Can someone please help me..