<?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 summary="layout" >
		<tr>
			<!-- 同一キーのテスト -->
			<og:select name="TABLE_NAME" multiple="true" colspan="3">
				<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}" colspan="3" />
		</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>
