【发布时间】:2014-05-01 08:00:55
【问题描述】:
通过迭代器,我能够在用于更新和删除的操作类中传递超链接值,但 href 在 display:table display:column 标签内不起作用。如何通过显示表中的超链接传递值,以及如何放置图像?
工作迭代器代码:
<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>
【问题讨论】:
标签: java jsp struts2 displaytag ognl