📄 roleset.jsp
字号:
<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/bbscs.tld" prefix="bbscs"%>
<html:xhtml/>
<html:form action="/adminRoleSet">
<html:hidden property="action"/>
<html:hidden property="id" styleId="id"/>
<table width="100%" border="0" cellpadding="5" cellspacing="0" class="table6">
<tr>
<td colspan="2">
<div id="resultMegs"/>
</td>
</tr>
<tr>
<td width="15%">角色名称</td>
<td width="85%">
<html:text property="roleName" styleId="roleName" styleClass="input2" size="40" onkeypress="return false;"/>
</td>
</tr>
<tr>
<td valign="top">权限</td>
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<logic:iterate id="permission" name="permissionList" scope="request" type="com.laoer.bbscs.bean.Permission">
<tr>
<td>
<bbscs:checkbox property="permissions" valueName="permission" valueProperty="id" collection="permissionValues">
</bbscs:checkbox>
<bean:write name="permission" property="permissionName"/>
<em>(<bean:write name="permission" property="id"/>)</em>
</td>
</tr>
</logic:iterate>
</table>
</td>
</tr>
<tr>
<td valign="top"> </td>
<td>
<logic:equal value="add" name="adminRoleSetForm" property="action">
<html:button property="saveRole" styleClass="button1" onclick="addRole();">保存</html:button>
</logic:equal>
<logic:equal value="editdo" name="adminRoleSetForm" property="action">
<html:button property="saveRole" styleClass="button1" onclick="editDoRole();">保存</html:button>
</logic:equal>
<html:button property="closeButton" styleClass="button1" onclick="cloesRoleSetPage();">关闭</html:button>
</td>
</tr>
</table>
</html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -