liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
    <title>业务表管理</title>
    <meta name="decorator" content="default"/>
    <script type="text/javascript" src="${ctxStatic}/jquery-combox/jquery.combox.js"></script>
    <link rel="stylesheet" href="${ctxStatic}/jquery-combox/styles/style.css" type="text/css"/>
    <script type="text/javascript">
        function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
          if( $("#inputForm").valid()){
              $("#inputForm").submit();
              return true;
          }
    
          return false;
        }
    </script>
</head>
<body>
 
    <div class="wrapper wrapper-content">
    
 
        <!-- create table from db -->
    
            <!-- 业务表导入 -->
            <form:form id="inputForm" modelAttribute="genTable" action="${ctx}/gen/genTable/importTableFromDB" method="post" class="form-horizontal">
                <form:hidden path="id"/>
                <sys:message content="${message}"/>
                <br/>
                <div class="control-group">
                    <label class="control-label">表名:</label>
                    <div class="controls">
                        <form:select path="name" class="form-control ">
                            <form:options items="${tableList}" itemLabel="nameAndComments" itemValue="name" htmlEscape="false"/>
                        </form:select>
                    </div>
                </div>
            </form:form>
    
    </div>
</body>
</html>