📄 role-input.jsp
字号:
#set( $symbol_pound = '#' )#set( $symbol_dollar = '$' )#set( $symbol_escape = '\' )<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mini-Web 角色管理</title>
<%@ include file="/common/meta.jsp"%>
<link href="${symbol_dollar}{ctx}/js/validate/jquery.validate.css" type="text/css" rel="stylesheet" />
<script src="${symbol_dollar}{ctx}/js/validate/jquery.validate.js" type="text/javascript"></script>
<script src="${symbol_dollar}{ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
<script>
${symbol_dollar}(document).ready(function(){
${symbol_dollar}("${symbol_pound}name").focus();
${symbol_dollar}("${symbol_pound}inputForm").validate();
});
</script>
</head>
<body>
<div id="content">
<h3><s:if test="id == null">创建</s:if><s:else>修改</s:else>角色</h3>
<form id="inputForm" action="role!save.action" method="post">
<input type="hidden" name="id" value="${symbol_dollar}{id}" />
<table class="inputView">
<tr>
<td>角色名:</td>
<td><input type="text" name="name" size="40" value="${symbol_dollar}{name}" class="required"/></td>
</tr>
<tr>
<td>授权:</td>
<td>
<div style="word-break:break-all;width:250px; overflow:auto; ">
<s:checkboxlist name="checkedAuthIds" list="allAuths" listKey="id" listValue="displayName" theme="simple"/>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="提交" />
<input type="button" value="取消" onclick="history.back()"/>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -