📄 ugset.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="/adminUgSet" method="post">
<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"></td>
</tr>
<tr>
<td width="18%">用户组名</td>
<td width="82%">
<html:text styleId="groupName" property="groupName" styleClass="input2" size="40" onkeypress="return false;"/>
</td>
</tr>
<tr>
<td valign="top">用户组描述</td>
<td>
<html:textarea styleId="groupDesc" property="groupDesc" cols="40" rows="5" styleClass="textarea1">
</html:textarea>
</td>
</tr>
<tr>
<td valign="top">用户角色</td>
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<logic:iterate id="role" name="roleList" scope="request" type="com.laoer.bbscs.bean.Role">
<tr>
<td>
<bbscs:checkbox property="roleIDs" valueName="role" valueProperty="id" collection="roleValues">
</bbscs:checkbox>
<bean:write name="role" property="roleName"/>
</td>
</tr>
</logic:iterate>
</table>
</td>
</tr>
<tr>
<td> </td>
<td>
<logic:equal value="add" name="adminUgSetForm" property="action">
<html:button styleId="saveRole" property="saveRole" styleClass="button1" onclick="addUg();">保存</html:button>
</logic:equal>
<logic:equal value="editdo" name="adminUgSetForm" property="action">
<html:button styleId="saveRole" property="saveRole" styleClass="button1" onclick="editDoUg();">保存</html:button>
</logic:equal>
<html:button property="closeButton" styleClass="button1" onclick="cloesUgSetPage();">关闭</html:button>
</td>
</tr>
</table>
</html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -