I'm using an iterator to display a collection of objects. The data gets displayed correctly but when the user modifies the data that modification is not reflected in the Collection when it reaches the ActionObject. In other words the data gets mapped to the
JSP fields correctly but the data does not seem to be getting mapped from the JSP field back to the Collection correctly.
Can someone tell me if I'm using incorrect syntax in my iterate statement? Is there some other problem here?
Thanks,
Matt
JSP
<logic:iterate id="msrf" name="MSReportForm"
property="departments"
type="com.csi.mos.activity.MSReportFormHelper">
<tr>
<td align="left"><font size="1">
<bean:write name="msrf" property="departmentDesc"/></font>
</td>
<td align="center"><html:text name="msrf"
property="performance" size="16"
maxlength="18"/></td>
<td align="center"><html:text name="msrf"
property="churn" size="16"
maxlength="18"/></td>
</tr>
</logic:iterate>
FORMBEAN
public class MSReportForm extends ActionForm
{
private Collection departments = new ArrayList();
........
FORMBEAN HELPER
public class MSReportFormHelper {
private
String departmentDesc;
private String performance;
private String churn;
....