<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>菜单</title>
<link href="${pageContext.request.contextPath}/css/left.css" rel="stylesheet" type="text/css"/>
<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/dtree.css" type="text/css" />
</head>
<body>
<table width="100%" border="0">
	  <tr>
	    <td>
	    <div class="dtree">
		<a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/dtree.js"></script>
		<script type="text/javascript">
			d = new dTree('d');
			d.add('01','-1','系统菜单');
			d.add('0101','01','demo管理','','','mainFrame');
			d.add('010101','0101','demo管理','${pageContext.request.contextPath}/demo/findAllByPage.action?page=1','','mainFrame');
			d.add('0102','01','功能1','','','mainFrame');
			d.add('010201','0102','功能1','${pageContext.request.contextPath}/1/findAll.action','','mainFrame');
			d.add('0104','01','功能2','','','mainFrame');
			d.add('010401','0104','功能2','${pageContext.request.contextPath}/2/findAllByPage.action?page=1','','mainFrame');
			document.write(d);
		</script>
	    </div>	
	    </td>
      </tr>
</table>
</body>
</html>
