📄 edituser.jsp
字号:
<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<html:html locale="true">
<head>
<TITLE><bean:message key="prompt.user.userInfoEdit" /></TITLE>
<LINK href="../css/iplan.css" rel=stylesheet type="text/css">
<SCRIPT language=javascript>
function closePage()
{
self.opener.refresh();
self.close();
}
function save()
{
if(validateForm(document.form1)) {
document.form1.action = "userAction.do?method=save";
document.form1.submit();
}
}
</SCRIPT>
</head>
<html:form styleId="form1" focus="user.userId" action="/userAction.do?method=save">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr align="center">
<td align="center" class="TableTxtBold">
<P align="center"><bean:message key="prompt.user.userInfoEdit" /></P>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table width="100%" border="0" align="center" class="cellBg" cellspacing="1" cellpadding="0">
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.user.userId" /></td>
<logic:empty name="userForm" property="user.guid">
<td class="TableTxtNorm"><html:text property="user.userId" size="30" maxlength="16" styleId="userId" styleClass="formFill1line" /></td>
</logic:empty>
<logic:notEmpty name="userForm" property="user.guid">
<td class="TableTxtNorm"><bean:write name="userForm" property="user.userId"/> </td>
<html:hidden property="user.userId"/>
</logic:notEmpty>
</tr>
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.user.password" /></td>
<td class="TableTxtNorm"><html:password property="user.password" size="30" maxlength="16" styleId="password" styleClass="formFill1line" /></td>
</tr>
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.user.userName" /></td>
<td class="TableTxtNorm"><html:text property="user.userName" size="30" maxlength="30" styleId="userName" styleClass="formFill1line" /></td>
</tr>
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.user.userRole" /></td>
<td class="TableTxtNorm">
<html:select property="user.roleId" styleId="roleId" styleClass="formFill1line" >
<html:options name="roleIdList" labelName="roleNameList"></html:options>
</html:select>
</td>
</tr>
<logic:notEmpty name="userForm" property="user.guid">
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.user.flag" /></td>
<td class="TableTxtNorm">
<html:select property="user.flg" styleId="flg" styleClass="formFill1line" >
<html:option value="0"><bean:message key="prompt.user.used" /></html:option>
<html:option value="1"><bean:message key="prompt.user.unused" /></html:option>
</html:select>
</td>
</tr>
</logic:notEmpty>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<button class="button" onclick="save();"><bean:message key="button.save" /></button>
<button class="button" onclick="closePage();"><bean:message key="button.close" /></button>
</td>
</tr>
</table>
<html:hidden property="user.guid"/>
<html:javascript formName="userForm" method="validateForm"/>
</html:form>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -