I am having a
JSP which has two labels four check boxes and four text fields. Since this is a set of data and can be dynamic these fields are stored in a value object and stored in a list and this list is passed to the action class.
The isue is when the form is sumbitted I am not able to get the updated list ofvalues through form into
Struts.
I am using Struts 1.2.9
Code snippet of jsp below. Any urgent reply is highely appreciated as this has been wasting my weekends and sleep.
<logic:iterate name="monthlyGainLossForm" property="ptcList" id="ptc">
<mf:td>
<html:text name="ptc" property="ptcName" />
<html:hidden name ="ptc" property="ptcName"/>
</mf:td>
<mf:td><html:text name="ptc" property="ptcActive" /></mf:td>
<html:hidden name ="ptc" property="ptcActive"/>
<mf:td><html:checkbox name="ptc" disabled="false" property="msaPtcLtcGLType" styleClass="input"/>
<html:hidden name ="ptc" property="msaPtcLtcGLType"/></mf:td>
<mf:td><html:text name="ptc" readonly="true" property="msaPtcLtcGLAmt" styleClass="input"/>
<html:hidden name ="ptc" property="msaPtcLtcGLType"/></mf:td>