<?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	= "DOC04"
	title	= "バージョン差分"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:value command="SQL">
	<jsp:text>
		SELECT VERSION VERSION0 FROM GF25 GROUP BY VERSION ORDER BY VERSION DESC
	</jsp:text>
</og:value>

<og:value command="SQL" nullSet="false">
	<jsp:text>
		SELECT VERSION VERSION1 FROM GF25 WHERE VERSION &lt;&gt; '{@VERSION0}' GROUP BY VERSION ORDER BY VERSION DESC
	</jsp:text>
</og:value>

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

<!-- 変更はここから -->
<table summary="layout" >
<tr>
	<og:select name="VERSION">
		<og:queryOption defaultVal="{@VERSION0}">
			<jsp:text>
				SELECT VERSION,VERSION FROM GF21 GROUP BY VERSION ORDER BY 1 DESC
			</jsp:text>
		</og:queryOption>
	</og:select>
	<og:space valueWidth="40" />
	<og:column name="VERSION2" addNoValue="false" defaultVal="{@VERSION1}" />
	<og:space valueWidth="40" />
	<og:column name="PREFIX"   addNoValue="false" defaultVal="og" />
	<og:column name="VIEW"     addNoValue="false"  />
</tr>
</table>

<og:queryButton />
</form>

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