Via Iterator I was able to pass hyper link value in my action class where it was used to update and delete, but href
is not working inside display:table
display:column
tag. How to pass value via hyperlink in display table, and also how to put image?
Working Iterator Code :
<s:iterator value=" #request.hrlist" >
<td><s:property value="Employement_detail"/></td>
<td><s:property value="Leaves_details"/></td>
<td><a href="editHyper?value=<s:property value="Employee_id"/>"><img src="img/edit.png" height="18" width="18" "></a></td>
<td><a href="delete?value=<s:property value="Employee_id"/>"><img src="img/delete.png" height="18" width="18" onclick="return myFunction()"></a></td>
</s:iterator>