📄 editarea.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.area.areaEdit" /></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 = "areaAction.do?method=save";
document.form1.submit();
}
}
</SCRIPT>
</head>
<html:form styleId="form1" focus="area.areaName" action="/areaAction.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.area.areaEdit" /></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="15%"><bean:message key="prompt.area.areaName" /></td>
<td class="TableTxtNorm"><html:text property="area.areaName" size="30" maxlength="50" styleId="areaName" styleClass="formFill1line" /></td>
</tr>
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.area.specifyUser" /></td>
<td class="TableTxtNorm">
<html:select property="area.userId" styleId="userId" styleClass="formFill1line" >
<html:options name="idList" labelName="userNameList"></html:options>
</html:select>
</td>
</tr>
<logic:notEmpty name="areaForm" property="area.guid">
<tr>
<td class="TableTxtBold" width="25%"><bean:message key="prompt.area.flag" /></td>
<td class="TableTxtNorm">
<html:select property="area.flg" styleId="flg" styleClass="formFill1line" >
<html:option value="0"><bean:message key="prompt.area.used" /></html:option>
<html:option value="1"><bean:message key="prompt.area.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="area.guid"/>
<html:javascript formName="areaForm" method="validateForm"/>
</html:form>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -