首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

struts标签运用注意

2012-10-06 
struts标签使用注意td aligncenters:if testauditUseroperate_user??? ??? ??? ??? ??? a hr

struts标签使用注意

<td align="center"><s:if test="auditUser==operate_user">
??? ??? ??? ??? ??? <a href="javascript:disapprove('<s:property value='#iList.operate_object'/>','<s:property value='#iList.operate_subject'/>')">
??? ??? ??? <img src="<c:out value="${uprrTheme}"/>/img/button/delete.gif" alt="struts标签运用注意"
??? ??? ??? ??? style="border-width: 0px;" /></a></s:if>
??? ??? ??? ??? ??? <script>
??? ??? ??? ??? ??? function disapprove(vid, subject){
??? ??? ??? ??? ??? ??? if(confirm("是否确认撤销!")){
??? ??? ??? ??? ??? ??? ???? var form = document.getElementById("approveHref");
??? ??? ??? ??? ??? ??? ??? form.action = '<c:out value="${webapp}"/>/disapprove.action?operateAudit.operate_object='+vid+'&operateAudit.operate_subject='+subject;
??? ??? ??? ??? ??? ??? ??? form.submit();
??? ??? ??? ??? ??? ??? }else{
??? ??? ??? ??? ??? ??????? return ;
??? ??? ??? ??? ??? ??? }
??? ??? ??? ??? ??? }
??? ??? ??? ??? ??? </script>

</td>

热点排行