📄 platemovewindow.jsp
字号:
<%@ page language="java" errorPage="/sys/error.jsp" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<title>新闻栏目管理</title>
<link href='<c:url value="/sys/css/css.css"/>' type="text/css" rel="stylesheet">
<script language="javascript">
<!--
function setValue() {
//var myform = document.plateForm; //当前页面
var myform = window.opener.plateForm ;
var form = columnTree.document.plateForm;
if (myform){
for(var i = 0; i < form.length; i++) {
var e = form[i];
if(e.type == "radio" && e.checked) {
//alert(e.value);
var evalues = e.value.split(",");
myform.movecolumnid.value = evalues[0]; //设置移动到的栏目
}//end if
}//end for
}
if(myform.movecolumnid.value == '') {
alert("请选择移动栏目!");
return;
}
myform.action = '<c:url value="/sys/plate/movePlate.html"/>';
myform.method.value = "movePlate";
myform.submit();
window.close();
}
//-->
</script>
</head>
<body marginheight="0" marginwidth="0">
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%" height="100%">
<tr>
<!-- left start -->
<td width="100%" valign="top" bgcolor="#ffffff">
<table border="1" cellpadding="0" cellspacing="0" width="100%" height="100%" class="lefttable">
<html:form action="/sys/plate/movePlate.html">
<html:hidden property="id"/>
<input type="hidden" name="set" value="set">
<input type="hidden" name="method" value="movePlate">
<tr><td><font color="red"><c:out value="${errorMsg}"/></font></td></tr>
<tr>
<td width="100%" height="100%" align="left" valign="top">
<iframe id="columnTree" src='<c:url value="/sys/plate/movePlate.html"/>?method=movePlate&iframe=iframe&id=<c:out value="${plateForm.id}"/>' width="100%" height="100%" border="0" frameborder="0">
</iframe>
</td>
</tr>
<tr>
<td align="center">
<input type="button" value="确定" onclick="setValue();" <c:if test="${isGuest}">disabled</c:if>>
<input type="button" value="关闭" onclick="window.close();">
</td>
</tr>
</html:form>
</table>
</td>
<!-- left end -->
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -