⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rights_edit.jsp

📁 本系统是基于Struts+Hibernate开发的一套后台管理系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK"%>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
 
<html> 
	<head>
		<title>System rights manage</title>
		<link href="../css/common.css" rel="stylesheet" type="text/css">
	</head>
	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
		  <tr> 
		    <td bgcolor="#FFFFFF">系统面板&gt;权限模块设置&gt;修改模块</td>
		  </tr>
		  <tr>
		    <td bgcolor="#cccccc">&nbsp;</td>
		  </tr>
		</table>
		<br>
		<br>
		<html:form action="/admin/rights_edit.do?action=save" onsubmit="javascript:return CheckForm(this);">
		  <table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
		    <tr> 
		      <td width="20%">模块名称:</td>
		      <td width="80%"><html:text property="id" style="display:none;"/><html:text property="name"/><html:errors property="name"/></td>
		    </tr>
		    <tr> 
		      <td>链接文件:</td>
		      <td><html:text property="url"/><html:errors property="url"/></td>
		    </tr>
			<tr> 
		      <td>父模块:</td>
		      <td>
				<html:select property="parentprvid">
			  		<html:options collection="parentprvid" property="value" labelProperty="label"  filter="false"/>	  	
			  	</html:select>
		      	<html:errors property="parentprvid"/></td>
		    </tr>
		    <tr> 
		      <td>显示顺序:</td>
		      <td><html:text property="vieworder" size="3"/>(正整数)<html:errors property="vieworder"/></td>
		    </tr>
		    <tr> 
		      <td>状态:</td>
		      <td>
		      <html:radio property="status" value="1" styleId="status1"/><LABEL for="status1">启用</LABEL>
		      <html:radio property="status" value="0" styleId="status2"/><LABEL for="status2">停用</LABEL>
		      </td>
		    </tr>
		    <tr> 
		      <td>备注:</td>
		      <td><html:textarea property="remark" cols="30" rows="5"/><html:errors property="remark"/></td>
		    </tr>
		    <tr align="center"> 
		      <td colspan="2">
			    <logic:present name="InfoTips" scope="request">
			      <div>
			        <bean:message key="message.login.status"/>
			        <bean:write name="InfoTips" property="tipsInfo"/>
			      </div>
			    </logic:present><br>
				<input type="submit" name="cmdAdd" value="修 改">
				<input type="reset" name="cmdReset" value="重 置"> 
		        <input type="button" name="cmdBack" value="返回上级" onclick="javascript:location='rights_man.do';"> 
		      </td>
		    </tr>
		  </table>
		</html:form>
	</body>
</html>
<script language="javascript">
function CheckForm(tarFrm){
if(tarFrm.name.value.length<1){
	alert("请输入'模块名称'!");
	tarFrm.name.focus();
	return (false);
}
if(tarFrm.url.value.length<1){
	alert("请输入'链接文件'!");
	tarFrm.url.focus();
	return (false);
}
if(tarFrm.vieworder.value.length<1){
	alert("请输入'显示顺序'!");
	tarFrm.vieworder.focus();
	return (false);
}
return true;
}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -