posted 19 years ago
Hi all,
This is what i am trying to achieve, Based on user choice i am generating that many text boxes for the user to enter certain values. The values that user entered in the text boxes need to be captured and evaluated. I am not able to figure out how i can capture this data in textboxes which are indexed in my action class. My logic tag is as follows
if i look at the (view Source) in html this is how the below code is seen
Bean[0].testValues
..
...
....
Bean[n].testValues
where "testValue" is the name of my textbox i am trying to capture. I am wondering if i need to do something different in my MachineDataViewBean. Currently it only have getter setter methods for "testValues"
<logic:iterate id="blisterView" name="MachineDataViewBean" property="blisterList" scope="session">
<tr>
<td height="24" width="25%" class="odd"><bean:write name="blisterView" property="cavityName"/> </td>
<td height="24" width="40%" class="odd"><so:text property="testValues" viewBean="MachineTestViewBean" indexed="true"></so:text> </td>
<td height="20" width="25%" class="odd"><bean:write name="MachineTestViewBean" property="testResult"/></td>
</tr>
</logic:iterate>