⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modifytemplet.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.util.UserInfo" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<%@ page import="cn.com.aheadsoft.util.TheProperties" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>修改模板</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="showTemplet" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
      <td class="tdC" align="center"><font color="#FF0000">关闭页面请点击页面下方的关闭按钮!</font></td>
</tr>
</table>
          <%
			String ID = request.getParameter("id");
			String Name=request.getParameter("name");
		  if(!TheProperties.ENCODE.equalsIgnoreCase("iso8859_1")){
			    Name=new String(Name.getBytes("iso8859_1"), "GB2312");
					  }			
		%>
<input type="hidden" value="<%=ID%>" name="TI_ID">  
<div align="center">        <applet code="applet.TempletModifyApplet" codebase="." width=90% height=90%  name="obj_applet" mayscript="true">
              </applet> </div>      
        
  <table border="0" width="100%" align="center"  bordercolor="A1B7DB" class="collapse">
    <tr height="25"> 
      <td height="22" colspan="2" class="common">&nbsp;&nbsp;模板名称&nbsp;:
<input class="biglong" type="text" name="TI_Name" alt="模板名称" value="<%= StringFormat.Source2GB(Name) %>">
      </td>
    </tr>		  
           <tr> 
            
      <td height="20" colspan="2" align="center"><INPUT name="Button1" type="button"  onClick="callApplet()"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="修 改">
	  <INPUT name="Button1" type="button"  onClick="deleteFile()"  onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" value="关 闭"></td>
          </tr>
        </table>
		
 </form>
 <Script language=javascript> 
function callApplet() 
{ 
window.document.obj_applet.executeButton();
var clientError= window.document.obj_applet.getClientError();
var serverError= window.document.obj_applet.getServerError();
if(!clientError&&!serverError)
{
    alert ('成功修改!');
	window.opener.location.reload(); 
	window.close();
}
else alert('请检查是否删除了模板中的公文域!'); 
} 
function deleteFile() 
{ 
window.document.obj_applet.closeBook();
	window.close();

} 
</Script> 
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -