📄 selecttreechn.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="com.cyberway.dynaform.document.ejb.Document"%>
<%@ page import="com.cyberway.utility.StringUtil"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/smartweb" prefix="s" %>
<%
String contextPath = request.getContextPath();
%>
<html:html>
<head>
<title> <s:Language key="typelist"/> </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="<%= contextPath %>/css/css.jsp" type="text/css">
<link rel="stylesheet" href="<%= contextPath %>/css/dtree.css" type="text/css">
<script src="<%= contextPath %>/js/billlist.js"></script>
<script src="<%= contextPath %>/js/util.js"></script>
<style type=text/css>
body {
background-color: #FFFFFF;
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #FFFFFF
}
.navigation { background-color: #f7f7f7; margin-top: 5px; margin-right: 0px; margin-bottom: 0px; margin-left: 5px ; border-right: 1px solid black; }
</style>
<script src="<%= contextPath %>/js/dtree.js"></script>
<script language="JavaScript">
var contextPath = '<%= contextPath %>';
function selectOne(value) {
top.window.returnValue = value;
top.window.close();
}
function ev_check() {
return true;
}
function ev_resetForm() {
resetForm();
}
</script>
</head>
<body bgcolor="transparent">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<!--
<tr>
<td height="41" background="images/main_06.gif">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%"><img src="images/tubiao4.gif" name="ico" width="34" height="31" align="absmiddle"></td>
<td width="80%" align="left"><span class="titel2"><div id="description"></div></span></td>
</tr>
</table>
</td>
</tr>
-->
<tr>
<td align='left' valign='top'>
<div class="dtree">
<script type="text/javascript">
<!--
d = new dTree('d');
<c:forEach var="item" items="${requestScope.LIST.datas}" varStatus="status">
<%
Document documentVO = (Document) pageContext.getAttribute("item");
String _brief = documentVO.get_brief();
String[] tmp = StringUtil.split(_brief, ";");
String id = tmp[0];
String name = tmp[1];
if(id.equals("1") || id.equals("2") || id.equals("3") || id.equals("4") || id.equals("5") ||id.equals("6") || id.equals("7")){
%>
d.add('<%=id%>',-1,'<c:out value="${item.description}" />','<c:out value="${urlView}" />', '<c:out value="${item.description}" />', '_content');
<%
}else{
%>
d.add('<c:out value="${item.id}" />','<c:out value="${item.superiorid}" />','<c:out value="${item.description}" />','<c:out value="${urlView}" />','<c:out value="${item.description}" />', '_content');
<%
}
%>
</c:forEach>
document.write(d);
d.openAll();
//-->
</script>
</div>
</td>
</tr>
</table>
<script language="javascript">
<!--
<c:if test="${!empty ico}">
if(parent.menuhead.ico!=null)
parent.menuhead.ico.src = "<%=contextPath%><%=path%><c:out value="${ico}"/>";
</c:if>
if(parent.menuhead.menudesc!=null)
parent.menuhead.menudesc.innerHTML = "<c:out value="${description}"/>" ;
-->
</script>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -