📄 documentedit.jsp
字号:
<jsp:include page="/include/global.jsp"/>
<%@ 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" %>
<%@ page contentType="text/html; charset=GBK" %>
<html:html>
<head>
<title><bean:message key="global.future"/> <bean:message key="global.version"/></title>
<meta http-equiv="Pragma" content="no-cache">
<base target="_self">
<link rel="stylesheet" type="text/css" href="../../common/olstyle.css">
<logic:equal name="documentForm" property="action" value="success">
<script language="JavaScript">
<!--
top.close();
//-->
</script>
</logic:equal>
<script language="JavaScript">
function submitForm(theForm) {
if (theForm.attachment.value=="") {
alert("请选择附件!");
return;
}
statusBar.innerText="正在上传文件,请稍候...";
theForm.submit();
}
</script>
</head>
<body onload="showErrors();">
<html:form action="/cm/lib/editDocument.do" enctype="multipart/form-data" onsubmit="submitForm(this)">
<input type="hidden" name="action" value="saveDocument">
<html:hidden property="id"/>
<html:hidden property="parentId"/>
<html:hidden property="name"/>
<html:hidden property="type"/>
<html:hidden property="sepg"/>
<table width="90%" align="center">
<tr>
<td>
<br>
<table width="100%" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" bgcolor="#669999"><div align="center"><font color="#FFFF99">上传文件</font></div></td>
</tr>
</table>
<hr>
<table width="100%" id="idToolbar">
<tr>
<td align="right" width="80" class="txtPropName">文 件 </td>
<td><html:file property="attachment" style="width:100%"/></td>
</tr>
<tr>
<td align="right" width="80" class="txtPropName">简 介 </td>
<td><html:textarea property="description" rows="4" style="width:100%"/></td>
</tr>
<tr>
<td align="right" width="80" class="txtPropName">备 注 </td>
<td><html:text property="remark" style="width:100%"/></td>
</tr>
</table>
<hr>
<jsp:include page="/include/savebuttons.jsp"/>
</td>
</tr>
<tr>
<td id="statusBar" align=center>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -