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

📄 edit.jsp

📁 实现用户关系管理系统
💻 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"%>
<%@ taglib uri="/WEB-INF/jb-common.tld" prefix="jb"%>
<script type="text/javascript" src="script/common.js"></script>
<script type="text/javascript" src="script/icommon.js"></script>
<script type="text/javascript" src="script/validate.js"></script>

<html:html lang="true">
<head>
	<title>编辑角色</title>

	<script>
		function doDel(id){
			if ( window.confirm("确定删除?") ){
				window.location.href = "?o=doDel&id=" + id;
			}
		}
	</script>
	<link href="css/style.css" rel="stylesheet" type="text/css">
</head>

<body class="main">
	<html:form action="role" method="post">
		<html:hidden property="o" value="doEdit" />
		<html:hidden property="item.roleId" />
		<html:hidden property="item.roleFlag" />
		<span class="page_title">编辑角色</span>
		<div class="button_bar">
			<button class="common_button" onclick="javascript:history.go(-1);">
				返回
			</button>
			<button class="common_button"
				onclick="javascript:doSubmit('doEdit');">
				保存
			</button>
			<div>
				<table class="query_form_table" border="0" cellPadding="3"
					cellSpacing="0">
					<tr>
						<th class="input_title">
							角色名
						</th>
						<td class="input_content">
							<html:text property="item.roleName" />
						</td>
						<th class="input_title">
							角色描述
						</th>
						<td class="input_content">
							<html:text property="item.roleDesc" />
						</td>
					</tr>
					<tr>
						<th class="input_title">
							角色
						</th>
						<td class="input_content">
							保密
						</td>
						<th class="input_title">
							状态
						</th>
						<td class="input_content">
							${roleForm.item.roleFlagString }&nbsp;
						</td>
					</tr>
				</table>
				<script>
		build_validate("item.usrName","角色名不能为空","Limit","1","50");
		build_validate("item.usrPassword","角色描述不能为空","Limit","1","50");
		</script>
	</html:form>
</body>
</html:html>

⌨️ 快捷键说明

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