?? modify.jsp
字號:
<%@page contentType="text/html;charset=gb2312"%>
<jsp:directive.page import="com.runwit.ebookstore.model.BugStatusModel"/>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html>
<head>
<title>全局管理->組管理->組修改</title>
<%@include file="../../inc/style.css"%>
</head>
<script type="text/javascript">
function specialProcess(s) {
// alert(s);
var sList = s.split(',');
//alert(sList.length);
for(var i=0; i<groupForm.statusList.length; i++) {
var chk = false;
for(var j=0; j<sList.length; j++) {
if(groupForm.statusList[i].value == sList[j]) {
chk = true;
break;
}
}
if(chk)
groupForm.statusList[i].checked = true;
}
}
</script>
<%
String myIds = "";
%>
<logic:iterate id="m" name="modifyModel" property="statusList">
<%myIds += (((BugStatusModel)m).getBsid()+","); %>
</logic:iterate>
<body onload="specialProcess('<%=myIds %>')">
<center>
<%@include file="../../inc/head.inc"%>
<!--修改組輸入表格-->
<table width="780" border="0">
<html:form action="/group/groupact.do?function=update" method="post">
<tbody>
<tr>
<td colspan="2" align="left">
組創建>>
</td>
</tr>
<tr>
<td width="150" bgcolor="#DDDDEE">組名稱</td>
<td width="630">
<html:text name="modifyModel" property="name" size="20"/>
<html:hidden name="modifyModel" property="groupId"/>
</td>
</tr>
<tr>
<td bgcolor="#DDDDEE">組所擁有的BUG狀態</td>
<td>
<logic:notEmpty name="bugStatusList">
<logic:iterate id="bs" name="bugStatusList" >
<html:multibox name="modifyModel" property="statusList" ><bean:write name="bs" property="bsid"/></html:multibox>
<bean:write name="bs" property="name"/>
</logic:iterate>
</logic:notEmpty>
</td>
</tr>
<tr>
<td colspan="2" align="left">
<input type="submit" value=" 修改組 ">
<input type="button" value=" 取消修改 " onclick="history.back();">
</td>
</tr>
</tbody>
</html:form>
</table>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -