<?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">
	<jsp:text>select max(VERSION) MAXVERSION from GF21</jsp:text>
</og:value>

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

<!-- 変更はここから -->
<table summary="layout" >
<tr>
	<og:column name="TAGNAME" colspan="3"/>
	<og:column name="VALUENAME" onKeyup="submit();" />
	<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>
</tr>
<tr>
	<og:select name="VERSION">
		<og:option lbl="" value="" />
		<og:queryOption defaultVal="{@MAXVERSION}">
			<jsp:text>
				SELECT VERSION,VERSION FROM GF21 GROUP BY VERSION ORDER BY 1 DESC
			</jsp:text>
		</og:queryOption>
	</og:select>
	<og:column name="PREFIX"  defaultVal="og" size="2"  />
	<og:column name="DESCRIPTION"/>
	<og:select name="SORT" lbl="ORDER_BY">
		<og:option value="1,2,5"    lbls="VERSION,TAGNAME,SEQ"        />
		<og:option value="1,2,4,6"  lbls="VERSION,TAGNAME,VALUENAME"  />
		<og:option value="3,4,6,1"  lbls="TAGNAME,VALUENAME,VERSION"  />
	</og:select>
</tr>
</table>

<og:queryButton />
</form>

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