📄 seasonedit.jsp.svn-base
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/include/include.jsp"%>
<html>
<head>
<title>Season Append</title>
</head>
<link href="css/pub.css" rel="stylesheet" type="text/css"/>
<script src="js/common.js"></script>
<script>
function validData(forms){
if(checkSpecialString(Trim(forms.name0.value))){
alert("非法字符,请重新输入!");
forms.name0.focus();
return false;
}
if((Trim(forms.name0.value)).length > 100){
alert("汉字输入不能超出100个,请重新输入年度名称!");
forms.name0.focus();
return false;
}
if(checkSpecialStrings(Trim(forms.name1.value))){
alert("非法字符,请重新输入!");
forms.name1.focus();
return false;
}
if((Trim(forms.name1.value)).length > 100){
alert("汉字输入不能超出100个,请重新输入赛季简称!");
forms.name1.focus();
return false;
}
if(checkSpecialString(Trim(forms.name2.value))){
alert("非法字符,请重新输入!");
forms.name2.focus();
return false;
}
if((Trim(forms.name2.value)).length > 100){
alert("汉字输入不能超出100个,请重新输入年度!");
forms.name2.focus();
return false;
}
if(forms.sort.value==''){
alert("请输入排序号!");
forms.sort.focus();
return false;
}
if(checkSpecialString(Trim(forms.sort.value))){
alert("非法字符,请重新输入!");
forms.sort.focus();
return false;
}
if(!isInt(Trim(forms.sort.value),'')){
forms.sort.focus();
return false;
}
if((Trim(forms.sort.value)).length > 16){
alert("超出整型的长度,请重新输入排序号!");
forms.sort.focus();
return false;
}
return true;
}
</script>
<body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
<html:form action="season.do?med=doUpdate" onsubmit="return validData(this);">
<table cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
<tr height="30">
<td class="fm1">修改赛季信息</td>
</tr>
</table>
<div align="left">
<table width="100%">
<tr>
<td>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td class="tdlabel2">赛季ID</td>
<td class="tdtext2">
<html:hidden property="id" value="${fbSeasonForm.id}"/>
<html:text property="id" disabled="true" readonly="true"/>
</td>
</tr>
<tr>
<td class="tdlabel1">年度名称</td>
<td class="tdtext1"><html:text property="name0"/></td>
</tr>
<tr>
<td class="tdlabel2">赛季简称</td>
<td class="tdtext2"><html:text property="name1"/></td>
</tr>
<tr>
<td class="tdlabel1">年度</td>
<td class="tdtext1"><html:text property="name2"/></td>
</tr>
<tr>
<td class="tdlabel2">当前赛季</td>
<td class="tdtext2">
<html:select property="isCurrent" >
<html:option value="1">是</html:option>
<html:option value="0">否</html:option>
</html:select>
</td>
</tr>
<tr>
<td class="tdlabel1">排序</td>
<td class="tdtext1"><html:text property="sort"/></td>
</tr>
<tr>
<td align="center" colspan="2">
<logic:equal name="message" value="failed">
<br><font color="red"><b>
<html:messages id="failed" message="true">
<bean:write name="failed"/>
</html:messages></b>
</font>
</logic:equal>
</td>
</tr>
<tr>
<td> </td>
<td>
<input type="submit" value="修改"/>
<input type="button" value="取消" onClick="javascript:history.back()">
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -