123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <%@ page pageEncoding="UTF-8"%>
- <%@ page contentType="text/html; charset=UTF-8" language="java" %>
- <%@ page import="com.sysmodel.assistant.ConfigService,
- com.sysmodel.datamodel.xmlmodel.ModelFactory"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <META http-equiv="Content-Type" content="text/html; charset=GB2312">
- <link rel="stylesheet" href="../../../styles/css.css" type="text/css">
- <title>配置信息保存</title>
- <meta http-equiv="cache-control" content="no-cache">
- <meta http-equiv="expires" content="0">
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
-
-
- <script type="text/javascript" src="../../../scripts/dojo/dojo/dojo.js"
- djConfig="isDebug: false, parseOnLoad: true"></script>
- <script type="text/javascript">
- dojo.require("dijit.form.Form");
- dojo.require("dijit.Tooltip");
- dojo.require("dijit.form.Button");
- </script>
- <style type="text/css">
- @import "../../../scripts/dojo/dojo/resources/dojo.css";
- @import "../../../scripts/dojo/dijit/themes/tundra/tundra.css";
- @import "../../../scripts/dojo/dijit/themes/tundra/tundra_rtl.css";
- @import "../../../scripts/dojo/dijit/tests/css/dijitTests.css";
- </style>
-
-
- <script language="javascript">
- function saveConfigs(){
- if(confirm("确定要保存生成新的配置文件吗?")){
- document.forms[0].submit();
- }
- }
- </script>
- </head>
- <body class="tundra">
- <%
- String save = request.getParameter("save") == null ? "" : request.getParameter("save");
- if(!save.equals("")){
- ConfigService XMLSave = new ConfigService();
- XMLSave.saveConfigFiles();
- out.print("成功保存配置信息!");
- }
- %>
- <form name="form0" action="progressbar.jsp" method="post">
- <div id=total>
- <div class="whiteborder">
- <div class="titback">
- <div class="floatleft"><img src="../../../images/index/arrow1.gif" width="20" height="24"/></div>
- <div class="dropshadow">保存新的版本配置</div>
- <div class="clear"></div>
- </div>
- <div class="report">
- 配置文件路径:<%=request.getLocalAddr() + " 机器 "+ ModelFactory.getSysmodel().getFileLoadFolder() %>
- <table align="center" id="SortTable512_1" width="100%" cellpadding="1" cellspacing="1" class="ltab2">
-
- <tr class="TableBgColorBlack">
- <td width="10%"> </td>
- <td width="30%" align="left">配置描述</td>
- <td align="left">配置文件名</td>
- </tr>
-
- <tr>
- <td> </td>
- <td align="left">页面资源配置</td>
- <td align="left">"PageResouce.xml"</td>
- </tr>
- <tr>
- <td> </td>
- <td align="left">数据库信息配置</td>
- <td align="left">"DataModel.xml"</td>
- </tr>
-
- <tr>
- <td> </td>
- <td align="left">采集页面配置</td>
- <td align="left">"PageCollection.xml"</td>
- </tr>
- <tr>
- <td> </td>
- <td align="left">列表查询配置</td>
- <td align="left">"PageList.xml"</td>
- </tr>
- </table>
- </div>
- <div class="btmbox">
- <button id="save" dojoType="dijit.form.Button" onClick="saveConfigs();" type="button" iconClass="plusIcon">
- 保存
- </button>
- <span dojoType="dijit.Tooltip" connectId="save">保存按钮</span>
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
|