<?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="init" />
<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<og:upload
	fileURL		= "{@USER.ID}"
	useLocal	= "true"
/>

<og:columnCheck
	command		= "NEW"
	nullCheck	= "file1"
/>

<og:file fileURL="{@USER.ID}" file1="{@file1}" action="existsLength" useLocal="true" >
	<og:message lbl="MSG0064" comment="ファイルが存在していません。" />
	<og:text>fileURL="{@USER.ID}" file1="{@file1}"</og:text>
</og:file>

<!-- checkColumns の実施有無 -->
<og:value command="SET" key="checkColumns"  value="*" />
<og:equals val1="{@noCheck}" val2="true">
	<og:value command="REMOVE" key="checkColumns" />
</og:equals>

<!-- 7.3.2.0 (2021/03/19) useStrict 追加 -->
<og:readTable
	command			= "NEW"
	modifyType		= "A"
	fileURL			= "{@USER.ID}"
	filename		= "{@file1}"
	encode			= "UnicodeLittle"
	adjustColumns	= "*"
	checkColumns	= "{@checkColumns}"
	useStrict		= "{@useStrict}"
	sheetNos		= "{@sheetNos}"
	nullCheck		= "{@nullCheck}"
	maxRowCount		= "0"
	nullBreakClm	= "{@nullBreakClm}"
	useRenderer		= "{@useRenderer}"
	columns			= "{@columns}"
	omitNames		= "{@omitNames}"
	tableId			= "{@tableId}"
	useLocal		= "true"
	debug			= "{@debug}"
/>

<body onLoad="document.forms[0].submit();" >
<og:text>
	<!-- 7.0.2.2 (2019/03/25) 引数の時、formのデフォルトである method="GET" の場合、?以降のﾊﾟﾗﾒｰﾀが消えるので、POSTに変更 -->
	<form method="POST" action="/{@SYS.CONTEXT_NAME}/jsp/{@callBack}" >
		<input type="submit" />
		<input type="hidden" name="command"  value="VIEW" />
		<input type="hidden" name="checked"  value="true" />
		<input type="hidden" name="h_UPLOAD" value="true" />
		<input type="hidden" name="pageSize" value="10000" />
		<input type="hidden" name="sqlType"  value="{@NVL.sqlType INSERT}" />
	</form>
</og:text>
</body>

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