roleindex.jsp

来自「管理公司合同」· JSP 代码 · 共 56 行

JSP
56
字号
<%@page language="java" contentType="text/html; charset=GBK"%>

<%@taglib uri="/WEB-INF/tag.tld" prefix="tag"%>
<%@ page import="cn.com.juneng.system.common.taglib.tree.impl.SysRoleTreeService" %>
<html>
<head>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<style>
<!-- 
a:link {
    text-decoration:none;
}
a:hover {
    text-decoration:none;
}
a:visited {
    text-decoration:none;
}
a:active {
    text-decoration:none;
}

a:visited:hover {
    text-decoration:none;
}
-->
</style>
</head>
<body style="padding:0 0 0 0; margin:0 0 0 0">
<table width='100%' height='99%'>
<tr  bgcolor='#F0FBFF'>
<td style="vertical-align:top" width='150'>
<div align="left">
<tag:tree treeName="系统角色" treeService="<%=new SysRoleTreeService() %>"/>  
</div>
</td>
<td valign='top'>
<iframe id="frame1" name="frame1" FRAMEBORDER=0 
	src=""
    width="100%" height="100%">
</iframe>		
</td>
</tr>
</table>
</body>
<script>
	function selectNode(){
		var node = atree.getSelected();
		var value = node.value;
		if(value==null||value=="undefined"){
			value = "0";
		}
		frame1.location.href = "<%=request.getContextPath() %>/system/role/SysRoleAction.jsp?actionType=<%=request.getParameter("actionType") %>&roleId="+value+"&roleName="+node.text; 
	}   
</script>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?