⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selecttype.jsp

📁 OBPM是一个开源
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/common/taglibs.jsp"%>
<%String contextPath = request.getContextPath();%>

<html>
<head>
<title>{*[Select]*}</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="<%= contextPath %>/resource/css/main.css"
	type="text/css">
<script src="<%= contextPath %>/script/util.js"></script>
<script src="<%= contextPath%>/script/tree.js"></script>
<script language="JavaScript">
var contextPath = '<%= contextPath %>';

function selectOne(value) {
  //alert(value);
  window.returnValue = value;
  window.close();
}

function doReturn() {
  var sis = document.all("_selectitem");
  var rtn = new Array();
  var p = 0;

  if (sis.length != null) {
	  for (var i=0; i<sis.length; i++) {
	    var e = sis[i];
	    if (e.type == 'checkbox') {
	      if (e.checked) {
	        rtn[p++] = e.value;
	      }
	    }
	  }
  }
  else {
    var e = sis;
    if (e.type == 'checkbox') {
      if (e.checked) {
        rtn[p++] = e.value;
      }
    }
  }

  window.returnValue = rtn;
  window.close();
}

function doExit() {
  window.close();
}
</script>
</head>
<body topmargin="0">
<ww:form name="formList" method="post" action="/bug/list.action">
	<%@include file="/common/page.jsp"%>
	<ww:hidden value="_orderby" />

	<table border="0" cellpadding="4" cellspacing="0">
		<tr>
			<td colspan="2" width="100%"><input type="button" class="bt-cancel"
				onclick="doExit()" value="{*[Cancle]*}"> <input type="button" class="bt-empty"
				onclick="doEmpty()" value="{*[Clear]*}"></td>
		</tr>

		<tr>
			<td colspan="2" class="list-srchbar"></td>
		</tr>

		<tr>
			<td colspan="2">
			<table border="0" cellpadding="0" cellspacing="1">
				<ww:set name="field" value="#parameters['field'][0]" />

				<tr class="row-hd">
					<td width="100%">{*[Type]*}
				</tr>
			<ww:bean name="cn.myapps.core.commoninfo.action.CommonInfoHelper" id="ch" />
				<ww:iterator value="#ch.getTypeList(#session.APPLICATION)">
					<tr class="row-content">
						<td width="100%"><a
								href="javascript:selectOne('<ww:property />')" /> <ww:property /></a></td>
					</tr>
				</ww:iterator>
			
			</table>
			</td>
		</tr>
	</table>
</ww:form>
</body>
</html>

⌨️ 快捷键说明

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