日期:2014-05-18 浏览次数:20649 次
<script type='text/javascript'> tree = new dTree('tree'); tree.config.folderLinks=false; tree.config.useCookies=false; <logic:iterate id="view" name="menuList" scope="session"> tree.add("<bean:write name="view" property="id"/>", "<bean:write name="view" property="pid"/>", "<bean:write name="view" property="name"/>", "<bean:write name="view" property="url"/>", "", "<bean:write name="view" property="target"/>" ); </logic:iterate> document.write(tree); </script>
<script type='text/javascript'> tree = new dTree('tree'); tree.config.folderLinks=false; tree.config.useCookies=false; tree.add("01", "0", "系统管理", "javascript:void(0)", "", "" ); tree.add("0101", "01", "菜单管理", "../system/menu.do?method=list", "", "main1Frame" ); tree.add("0102", "01", "用户管理", "b", "", "" ); tree.add("02", "0", "字典管理", "javascript:void(0)", "", "" ); tree.add("03", "0", "aaaa", "javascript:void(0)", "", "" ); tree.add("04", "0", "bbbb", "jav