<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="query" >
	<script type="text/javascript">
	  function check(obj){
		if( "checkbox" == obj.type ) {
			if(obj.checked){
			  document.getElementById("USRSET" ).disabled = false;
			  document.getElementById("DYSET"  ).disabled = false;
			  document.getElementById("PGSET"  ).disabled = false;
			}
			else {
			  document.getElementById("USRSET" ).disabled = true;
			  document.getElementById("DYSET"  ).disabled = true;
			  document.getElementById("PGSET"  ).disabled = true;
			}
		}
	  }
	</script>
</og:head>

<jsp:directive.include file="/jsp/custom/query_info.jsp" />

<form method="POST" action="result.jsp" enctype="multipart/form-data" target="RESULT">
	<table summary="layout" >
	  <tr>
		<og:column name="DBID" codeKeyVal="{@DBID_INFO}" />
		<og:column name="FILE_TYPE" editor="KVMENU" param="XML:XML FILE:FILE" must="true" defaultVal="XML" addNoValue="false" />
		<og:input type="checkbox" name="CHK" value="true" checked="checked" lbl="SET_DEFAULT_MODEL" onChange="check(this);" />
		<td>(　<og:column name="USRSET" defaultVal="{@USER.ID}"     td="no" />
			   <og:column name="DYSET"  defaultVal="{@DATE.YMDHMS}" td="no" />
			   <og:column name="PGSET"  defaultVal="{@GUI.KEY}"     td="no" />　)
		</td>
	  </tr>
	  <tr>
		<og:input type="file" name="file1" lbl="MSG0015" optionAttributes="multiple" />
		<og:column name="insertDIR" list="insertDIR.sel" size="80" maxlength="256" colspan="10" />
			<og:datalist id="insertDIR.sel">
				<og:option lbl="{@SYS.REAL_PATH}db">{@SYS.REAL_PATH}db</og:option>
			</og:datalist>
	  </tr>
	</table>

	<og:fieldset lbl="DirectTableInsert" >
		<table>
		  <tr>
			<td colspan="2"><textarea name="SQL_TEXT" rows="6" cols="50"><!-- --></textarea></td>
			<td colspan="2">
				<table>
					<tr>
						<og:column name="table"			size="10"	defaultVal="FILE.NAME" />
						<og:column name="sheetNos"		size="10" />
						<og:column name="skipRowCount"	size="5" />
					</tr>
					<tr>
						<og:column name="checkColumns"	size="10" />
						<og:column name="adjustColumns"	size="10" />
						<og:column name="useRenderer" codeName="BOOLEAN" defaultVal="false" addNoValue="false" />
					</tr>
					<tr>
						<og:column name="nullBreakClm"	size="10" />
						<og:column name="commitBatch"	size="10" />
						<og:column name="useNumber"   codeName="BOOLEAN" defaultVal="true" addNoValue="false" />
					</tr>
				</table>
			</td>
		  </tr>
		  <tr>
				<og:column name="columns"   size="50" maxlength="0" />
				<og:column name="omitNames" size="50" maxlength="0" />
		  </tr>
		</table>
	</og:fieldset>

	<og:queryButton type="ENTRY" />
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
