<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="x"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<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/forms/syfFormsDetail.js"/>' type="text/javascript"></script>
</head>
<body>
<div class="container-fluid">
   <div id="layout">
    <form class="hg-form" method="post" action="" id="safFormsForm">
	 <x:hidden name="id" />
   <div class="hg-form-row">
    <x:inputC name="formNo"  label="表单编号" maxLength="20" labelCol="2" fieldCol="2" required="true" />
    <x:inputC name="formName"  label="表单名称" maxLength="30" labelCol="2" fieldCol="2" required="true" />
     <x:selectC name="saveMode" label="数据保存方式" dictionary="saveMode" emptyOption="false" labelCol="2" fieldCol="2"
                       required="true"/>
     <!-- x:radioC id="existAttachment" dictionary="yesorno" value="1" name="existAttachment" label="是否上传附件" labelCol="2" fieldCol="4"/-->
    </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: 900px">
				<x:inputC name="tableName" label="表名称"  maxLength="30" labelCol="1"  />
				<x:searchButtons />
			</form>			
		</div>
		<div position="left"  title="待选择模型列表"  style="overflow:hidden;height:330px">
			<div id="projectFileClassListGrid"></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="projectExistFileClassListGrid"></div>
		</div>

  </div>
</div>
</body>
</html>