<?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	= "GF6170"
	title	= "Ajaxツリーメニュー"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<form method="GET" action="forward.jsp" target="RESULT" onClick="timeSet();">
<table summary="layout" >
<tr>
	<og:select name="MGR" lbl="MGR" must="false">
		<og:option lbl=""        value="" />
		<og:queryOption>
			<jsp:text>
				SELECT A.EMPNO,A.EMPNO,A.ENAME,A.JOB
                FROM EMP A
				WHERE EXISTS (select * from EMP B where B.MGR = A.EMPNO)
				ORDER BY A.MGR
			</jsp:text>
		</og:queryOption>
	</og:select>

	<og:column name="EXPAND_ALL" />
</tr>
</table>
<og:queryButton />
</form>

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