<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib uri="/WEB-INF/taglib.tld" prefix="x"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<x:base include="layout,dialog,grid,tree,dateTime,commonTree,combox,attachment" />
<script src='<c:url value="/lib/jquery/jquery.comboDialog.js"/>' type="text/javascript"></script>
<script src='<c:url value="/formdesign/model/userTablesList.js"/>' type="text/javascript"></script>
</head>
<body>
<div class="container-fluid">
	<div id="layout">
	   <form class="hg-form" method="post" action="" id="userTablesForm">
	    <x:hidden name="id" id="id" />
	    <x:hidden name="parentId" id="parentId" />
	    <div class="hg-form-cols">
          <div class="hg-form-row">
            <x:inputC name="tableName" id="tableName" label="表名称" maxLength="30" labelCol="2" fieldCol="2" required="true"/>
            <x:inputC name="name" label="表描述" maxLength="30" labelCol="2" fieldCol="6" required="true"/>
     
          </div>
         </div>
        </form> 
 		<div position="top"> 
			<x:title title="搜索" hideTable="queryForm" isHide="true"/>
			<form class="hg-form ui-hide" method="post" action="" id="queryForm" style="width: 920px">
				<x:inputC name="fieldCode" label="字段名称"  maxLength="50" labelCol="1"  />
				<x:inputC name="fieldName" label="中文名称"  maxLength="50" labelCol="1"  />
				<x:searchButtons />
			</form>			
		</div>
		<div position="left"  title="字段列表" style="overflow:hidden;height:420px">
			<div id="metaDataListGrid" style="margin:2px;height:200px"></div>
		</div>
		<div position="center" class="ui-layout-height-auto display-table display-inline-xs">
			<div class="display-table-cell display-inline-xs">
				<x:button value="=>" id="divAdd" onclick="addData()"/>
				<x:button value="<="  id="divDelete" onclick="deleteData()"/>
				<x:button value="清空已选" id="divDeleteAll" onclick="doDeleteAll()"/>
			</div>
		</div>  
		<div position="right" title="已选字段列表" style="overflow:hidden">
			<div id="existMetaDataListGrid"></div>
		</div>
	</div>
</div>
</body>
</html>