📄 movieingroup.jsp
字号:
<?xml version="1.0" encoding="gb2312" ?>
<%@ page language="java" contentType="text/html; charset=gb2312"
pageEncoding="gb2312"%>
<%@ page import="com.eline.vod.utils.*"%>
<%@ page import="com.blue.web.common.util.*" %>
<%@ taglib uri="/WEB-INF/tlds/eline-common.tld" prefix="common" %>
<%@ taglib uri="/WEB-INF/tlds/eline-resource.tld" prefix="resource" %>
<%
int indexID = StringUtils.getInt(request.getParameter("movieId"), 0);
System.out.println("movieUpdate.jsp.movieId=" + indexID);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Insert title here</title>
<link href="../style/default.css" type="text/css" rel="stylesheet" />
<style type="text/css"> body, table, td, select, input { font-size: 9pt; font-family: SimSun; }
.button2w { width: 50px; }
</style>
<script id="clientEventHandlersJS__CatalogRingDeploy1" language="javascript">
<!--
function ButtonSelect__onclick() {
var listSrc = document.all["ListResource"];
var listTarget = document.all["ListSelected"];
if (listSrc.selectedIndex == -1) {
window.alert("请先选择要配置的产品项");
return false;
}
for (var i = 0; i < listTarget.options.length; i ++) {
if (listSrc.options[listSrc.selectedIndex].value == listTarget.options[i].value) {
window.alert("该项目已经被选择过一次");
return false;
}
}
var newOption = new Option(listSrc.options[listSrc.selectedIndex].text,
listSrc.options[listSrc.selectedIndex].value);
listTarget.options.add(newOption);
listSrc.selectedIndex = -1;
return true;
}
function ButtonUnselect__onclick() {
var listSrc = document.all["ListSelected"];
if (listSrc.selectedIndex == -1) {
window.alert("请先选择要取消的产品项");
return false;
}
listSrc.options[listSrc.selectedIndex] = null;
return true;
}
function form1_onsubmit() {
var listSrc = document.all["ListSelected"];
if (listSrc.options.length < 1) {
window.alert("目录为空");
return false;
}
var items = new Array();
for (var i = 0; i < listSrc.options.length; i++) {
items[i] = listSrc.options[i].value;
}
document.all["selectedItems"].value = items.join(";");
return true;
}
function buttonCancel_onclick() {
var dlgWnd = window;
if (window.parent != null)
dlgWnd = window.parent;
dlgWnd.close();
return true;
}
-->
</script>
</head>
<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
<form method="post" action="<%=SiteUrls.getInstance().getProperty(SiteUrls.MOVIE_IN)%>?webAction=1" onsubmit="return form1_onsubmit()">
<%System.out.println(SiteUrls.getInstance().getProperty(SiteUrls.MOVIE_DEPLOY)); %>
<table cellspacing="1" cellpadding="0" width="400" border="0">
<tr>
<td align="center">
<table cellspacing="0" cellpadding="1" width="100%" border="0">
<tr>
<td align="center" class="tableHeader1" colspan="3"><b>加入组</b></td>
</tr>
<tr>
<td width="252"><select name="ListResource" size="18" id="ListResource" ondblclick="return doRingPreview(this)" style="width:220px;">
<resource:groupList pageItems="999" movieId="<%=indexID%>">
<common:items>
<option value="<resource:groupAttribute name="id" />"><resource:groupAttribute name="Title" /></option>
</common:items>
</resource:groupList>
</select></td>
<td align="center">
<input name="ButtonSelect" id="ButtonSelect" type="button" class="clsMenuItem1" value=" > > " onclick="return ButtonSelect__onclick()" />
<input name="ButtonUnselect" id="ButtonUnselect" type="button" class="clsMenuItem1" value=" < < " onclick="return ButtonUnselect__onclick()" /><br />
</td>
<td width="252"><select name="ListSelected" size="18" id="ListSelected" ondblclick="return doRingPreview(this)" style="width:220px;">
</select></td>
</tr>
</table>
<input type=hidden name="selectedItems" />
<input type=hidden name="indexID" value="<%=indexID%>" />
<div style="font-size: 5px"><br />
</div>
<input class="clsMenuItem" type="submit" value="确定"
name="buttonSubmit" /><input class="clsMenuItem" type="button" value="放弃" name="buttonCancel" onclick="return buttonCancel_onclick()" /></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -