📄 clubaction_edit2.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ 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" %>
<html:html lang="true">
<head>
<title>俱乐部活动编辑</title>
<link rel="stylesheet" type="text/css"
href="${pageContext.request.contextPath}/image/main.css">
<script type="text/javascript">
//表单的检验
function mycheck(){
//检验实际费用
var factcharge = document.formca.factcharge.value.replace(/\s/g,"");
var temp_factcharge = factcharge.replace(/[0-9]/g,"");
if(temp_factcharge.length>0){
alert("实际费用必须为数字");
document.formca.factcharge.focus();
return false;
}
//检验实际参加人数
var factnum = document.formca.factnum.value.replace(/\s/g,"");
var temp_factnum = factnum.replace(/[0-9]/g,"");
if(temp_factnum.length>0){
alert("实际参加人数必须为数字");
document.formca.factnum.focus();
return false;
}
return true;
}
</script>
</head>
<body>
<center><span style="font-size: 14px;font-weight: bold">修改俱乐部活动</span></center>
<br>
<center><span style="color: red;" >友情提示:该活动已经结束,只允许修改实际参加人数和费用</span></center>
<br>
<table width="80%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr align="center" valign="middle"><td><br>
<html:form action="/clubAction" styleId="formca" onsubmit="return mycheck();">
<table width="95%" border="1" align="center" cellpadding="0" cellspacing="0" id="ttc">
<tr height="27">
<td width="40%" align="center" id="ttc">俱 乐 部 名 称</td>
<td width="60%" id="ttc">
<html:text property="clubname" readonly="true"/>
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">活 动 组 织 者</td>
<td width="60%" id="ttc">
<html:text property="organiger" size="10" readonly="true"></html:text>
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">活 动 时 间</td>
<td width="60%" id="ttc">
<html:text property="actiontime" readonly="true" />
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">活 动 地 点</td>
<td width="60%" id="ttc">
<html:text property="saddress" size="35" readonly="true" />
</td>
</tr>
<tr>
<td width="40%" align="center" id="ttc">活 动 内 容</td>
<td width="60%" id="ttc">
<html:textarea property="content" cols="35" rows="3" readonly="true" />
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">活 动 预 算</td>
<td width="60%" id="ttc">
<html:text property="budget" size="10" readonly="true" />
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">预 计 参 加 人 数</td>
<td width="60%" id="ttc">
<html:text property="intendnum" size="10" readonly="true" />
</td>
</tr>
<logic:equal value="update" property="tag" name="clubActionForm" >
<tr height="27">
<td width="40%" align="center" id="ttc">实 际 费 用</td>
<td width="60%" id="ttc">
<logic:equal value="0" property="factcharge" name="clubActionForm">
<html:text property="factcharge" size="10" value="" />
</logic:equal>
<logic:notEqual value="0" property="factcharge" name="clubActionForm">
<html:text property="factcharge" size="10" />
</logic:notEqual>
</td>
</tr>
<tr height="27">
<td width="40%" align="center" id="ttc">实 际 参 加 人 数</td>
<td width="60%" id="ttc">
<logic:equal value="0" property="factnum" name="clubActionForm">
<html:text property="factnum" size="10" value="" />
</logic:equal>
<logic:notEqual value="0" property="factnum" name="clubActionForm">
<html:text property="factnum" size="10" />
</logic:notEqual>
</td>
</tr>
</logic:equal>
<tr height="30">
<td colspan="2" align="center" id="ttc">
<input type="submit" value="修改"/>
<input type="hidden" value="modify" name="tag" />
<input type="hidden" name="currentpage" value="${requestScope.map.currentpage}">
<html:hidden property="nid" />
<html:hidden property="ischecked" />
<html:hidden property="ispass" />
<html:hidden property="opinion" />
<input type="reset" value="重置"/>
</td>
</tr>
</table>
</html:form>
</td>
</tr>
</table>
<br>
<center><a href="${pageContext.request.contextPath}/clubAction.do?tag=show¤tpage=${requestScope.map.currentpage}">返回俱乐部活动管理</a></center>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -