What is the mechanics of using the Input button inside of the Iterate tag.
I have my JSP as
<html:form action="/action/dispatchEmployeeAction.do">
<table>
<TR>
<th>Number</th>
<th>First Name</th>
<th>Last Name</th>
<th>Telephone Count</th>
<th>Address</th>
</TR>
<logic:iterate name="employeeList" id="employee" indexId="empNumber"
type="com.innovate.test.Employee">
<TR>
<TD><bean:write name="empNumber"/></TD>
<TD><bean:write name="employee" property="fname"/></TD>
<TD><bean:write name="employee" property="lname"/></TD>
<TD><bean:write name="employee" property="telephoneNumberCount"/></TD>
<TD><bean:write name="employee" property="fullAddress"/></TD>
<TD>
<html:image page="/images/Delete_Button.gif"
property="employee_delete" indexed="true" />
</TD>
<TD>
<html:image page="/images/Update_Button.gif"
property="employee_update" indexed="true" />
</TD>
</logic:iterate>
</table>
<html:submit value="Create Employee" property="theAction"/>
</html:form>
What should my corresponding code in Action be to recognize which of the
delete/update buttons are clicked.
Thanks in advance
Shantanu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]