<?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	= "GF2080"
	title	= "オブジェクト一覧"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<script type="text/javascript" >
<![CDATA[
<!--
function allCheck( flag ) {
	var obj = document.getElementsByName( "OBJ_TYPE" );
	for( i=0; i<obj.length; i++ ) {
		obj[i].checked = flag;
	}
}
-->
]]>
</script>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">
<table summary="layout" >
	<tr>
		<og:column name="SYSTEM_ID" defaultVal="{@LAST.SYSTEM_ID}" must="true" size="5" />
		<og:column name="TBLSYU" defaultVal="D" />
		<og:column name="OBJ_NAME" lbl="OBJ_NAME" size="10" onBlur="this.value=value.toUpperCase();" aimai="V*" />
		<og:select name="STATUS" lbl="STATUS">
			<og:option lbl=""        value="" />
			<og:option lbl="VALID"   value="VALID"	  />
			<og:option lbl="INVALID" value="INVALID" />
		</og:select>
		<og:column name="REF_TABLES" aimai="V*" />
	</tr>
</table>
<table summary="layout" >
	<tr>
		<og:input type="checkbox" onClick="allCheck( this.checked );" style="background-color:Green;" />
		<og:input type="checkbox" name="OBJ_TYPE" lbl="view"		value="VIEW"		/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="trigger"		value="TRIGGER"		/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="synonym"		value="SYNONYM"		/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="function"	value="FUNCTION"	/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="procedure"	value="PROCEDURE"	/>
	</tr>
	<tr>
		<og:space />
		<og:input type="checkbox" name="OBJ_TYPE" lbl="package"		value="PACKAGE"		/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="pkg body"	value="PACKAGE BODY"/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="type"		value="TYPE"		/>
		<og:input type="checkbox" name="OBJ_TYPE" lbl="type body"	value="TYPE BODY"	/>
		<og:space />
	</tr>
</table>

<og:queryButton>
	<og:select name="ORDER_BY" lbl="ORDER_BY" td="no">
		<og:option lbls="OBJ_NAME,OBJ_TYPE" value="OBJ_NAME,OBJ_TYPE" />
		<og:option lbls="OBJ_TYPE,OBJ_NAME" value="OBJ_TYPE,OBJ_NAME" />
	</og:select>
</og:queryButton>
</form>

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