<?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	= "DOC02"
	title	= "タグリブ属性定義"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:value command="SQL">
	select max(VERNO) MAXVERNO from GF21
</og:value>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">

	<!-- 変更はここから -->
	<table >
		<tr>
			<og:select name="VIEW" lbl="VIEW">
				<og:option value=""      lbl="SHORT" />
				<og:option value="FULL"  lbl="FULL"  />
				<og:option value="XML"   lbl="XML"   />
			</og:select>
			<og:column name="TAGNAME" aimai="V*" />
			<og:column name="VALUENAME" aimai="V*" onKeyup="submit();" />
			<og:column name="HTMLEXT" />
		</tr>
		<tr>
			<og:select name="VERNO">
				<og:option lbl="" value="" />
				<og:queryOption defaultVal="{@MAXVERNO}">
						SELECT VERNO,VERNO FROM GF21 GROUP BY VERNO ORDER BY 1 DESC
				</og:queryOption>
			</og:select>
			<og:column name="DESCRIPTION" aimai="*V*" />
			<!-- Oracle Textの検索は、ORACLE のみ。引数がnull の場合は、検索条件から消える。 -->
			<og:column name="TEXT_DATA" colspan="3" size="30" type="search" caseKey="{@DBF.NAME}" caseVal="ORACLE" help="/help/oracletext-ja.pdf" />
		</tr>
	</table>

	<og:queryButton>
		<og:select name="ORDER_BY" lbl="ORDER_BY" td="no">
			<og:option value="A.VERNO,A.TAGNAME,A.SEQ"			lbls="VERNO,TAGNAME,SEQ"		/>
			<og:option value="A.VERNO,A.TAGNAME,A.VALUENAME"	lbls="VERNO,TAGNAME,VALUENAME"	/>
			<og:option value="A.TAGNAME,A.VALUENAME,A.VERNO"	lbls="TAGNAME,VALUENAME,VERNO"	/>
		</og:select>
	</og:queryButton>
</form>

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