<?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" />
<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF7070"
	title	= "Valueタグ"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">
	<table >
		<tr>
			<!-- 同一キーのテスト -->
			<og:select name="TABLE_NAME" multiple="true" colspan="3" rowspan="2">
				<og:queryOption>
					SELECT	TABLE_NAME,NAME_JA FROM GF02
					WHERE	SYSTEM_ID='GF' AND FGJ IN ('0','1') AND TBLSYU='D'
					ORDER BY TABLE_NAME
				</og:queryOption>
			</og:select>

			<!-- valueﾀｸﾞのROW_APPEND ﾃｽﾄ -->
			<og:value command="SQL" action="ROW_APPEND">
				SELECT SYSTEM_ID FROM GF02
				WHERE FGJ in ('0','1') AND TBLSYU='D'
				GROUP BY SYSTEM_ID
				ORDER BY SYSTEM_ID
			</og:value>
			<og:column name="SYSTEM_ID" value="{@SYSTEM_ID}" size="30" colspan="3" />
		</tr>
		<tr>
			<og:select name="HASH_FMT" colspan="3">
				<og:option lbl=""			value="" />
				<og:option lbl="MD5"		value="MD5"	/>
				<og:option lbl="SHA-1"		value="SHA-1"	/>
				<og:option lbl="SHA-256"	value="SHA-256"	/>
				<og:option lbl="SHA-512"	value="SHA-512"	/>
			</og:select>
		</tr>
		<tr>
			<og:column name="UP_VAL"	value="ABCDE"		size="5" />
			<og:column name="LOW_VAL"	value="fghij"		size="5" />
			<og:column name="ADD_VAL"	value="15"			size="5" />
			<og:column name="ZEN"		value="あいおうえ"	size="5" />
			<og:column name="FOMAT_VAL"	value="%05d"		size="5" />
		</tr>
		<tr>
			<og:column name="TM_FROM"	value="{@DATE.HMF}"			size="5" />
			<og:column name="TM_TO"		value="{@DATE.HMF MI 15}"	size="5" />	<!-- 15分先 -->
			<og:column name="TM_SKIP"	value="5"					size="5" />	<!-- 5分刻み -->
			<og:column name="CASE_VAL"	value="B"					size="5" />
			<og:column name="CASE_FRM"	value="A:1 B:2 C:3 D:4" />
		</tr>
	</table>
	<og:queryButton />
</form>

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