📄 incrementlist.jsp
字号:
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
<title>增值业务列表</title>
<style type="text/css">
<!--
.STYLE8 {font-size: 14px; font-weight: bold; color: #FF6500; }
.STYLE9 {color: #FFFFFF}
-->
</style>
<script language="javascript">
function SendValueToParent(){
var array = document.getElementsByName("inc");
var total = "";
for (var i = 0;i<array.length ;i++ )
{
if (array[i].checked == true)
{
if (total == "")
{
total = array[i].value;
}else{
total = total + "," + array[i].value;
}
}
}
window.opener.document.all("incrementid").value = total;
window.close();
}
</script>
</head>
<body>
<center>
<table width="50%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr>
<td height="25" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE8"><span class="STYLE1 STYLE9">增值业务名称</span></span></td>
</tr>
<tr>
<td nowrap="nowrap"><table width="100%" border="1" cellspacing="0" cellpadding="0" >
<c:forEach var="IncrementList" items="${requestScope.list}">
<c:forEach var="IncrementValue" items="${IncrementList}"varStatus="IncrementStatus">
<c:choose>
<c:when test="${IncrementStatus.first}">
<tr>
<td width="92%" height="20" align="left" valign="middle" nowrap="nowrap" id="ttc">
<input type="checkbox" name="inc" value="${IncrementValue.incname}">
${IncrementValue.incname} </td>
</tr>
</c:when>
<c:otherwise>
<tr>
<td width="92%" height="20" align="left" valign="middle" nowrap="nowrap" id="ttc">
<input type="checkbox" name="inc" value="${IncrementValue.incname}">
${IncrementValue.incname}
</td>
</tr>
</c:otherwise>
</c:choose>
</c:forEach>
</c:forEach>
<tr>
<td height="20" colspan="3" align="center" valign="middle" nowrap="nowrap" id="ttc">
<input type="button" name="Submit" value=" 确 定 " onClick="SendValueToParent();"> </td>
</tr>
</table></td>
</tr>
</table>
<br>
<p><br>
</p>
<p> </p>
<p> </p>
<p> </p>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -