<?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	= "GANTT10"
	title	= "オブジェクトマスタ登録"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>
<og:value command="SET" key="DEFM1" value="DEF1" />
<og:value command="SET" key="DEFM2" value="DEF2" />
<og:value command="SET" key="DEFM3" value="DEF3" />
<og:value command="SET" key="DEFM4" value="DEF4" />
<og:value command="SET" key="DEFM5" value="DEF5" />
<og:value command="SET" key="DEFM6" value="DEF6" />

<og:value command="SQL">
		select DEFM1,DEFM2,DEFM3,DEFM4,DEFM5,DEFM6
		from GF61 where IDTYPE = '{@IDTYPE}' and fgj in ('0','1')
</og:value>

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

<!-- 変更はここから -->
<table summary="layout" >
<tr>
	<!-- {@SYS.XXXX} で、SystemResource.properties 設定情報を取得できます。-->
	<og:column name="ID" aimai="V*"     />
	<!-- {@USER.XXXX} で、UserInfo 情報や、独自設定の値が取得できます。-->
	<og:column name="NAME_JA" aimai="V*"   />
	<og:select name="IDTYPE" onChange="renew('query.jsp','QUERY'); ">
		<og:option value="" lbl="" />
		<og:queryOption>
				select IDTYPE,NAME_JA from GF61
				where fgj in ('0','1') 
				order by 1
		</og:queryOption>
	</og:select>
</tr>
<tr>
	<og:equals val1="{@DEFM1}" val2="{@DEFM1}" ><og:column name="DEF1" aimai="V*" lbl="{@DEFM1}"  /></og:equals>
	<og:equals val1="{@DEFM2}" val2="{@DEFM2}" ><og:column name="DEF2" aimai="V*" lbl="{@DEFM2}"  /></og:equals>
	<og:equals val1="{@DEFM3}" val2="{@DEFM3}" ><og:column name="DEF3" aimai="V*" lbl="{@DEFM3}"  /></og:equals>
</tr>
<tr>
	<og:equals val1="{@DEFM4}" val2="{@DEFM4}"  ><og:column name="DEF4" aimai="V*" lbl="{@DEFM4}"  /></og:equals>
	<og:equals val1="{@DEFM5}" val2="{@DEFM5}"  ><og:column name="DEF5" aimai="V*" lbl="{@DEFM5}"  /></og:equals>
	<og:equals val1="{@DEFM6}" val2="{@DEFM6}"  ><og:column name="DEF6" aimai="V*" lbl="{@DEFM6}"  /></og:equals>
</tr>
<tr>
	<og:column name="FORM" aimai="V*"   />
	<og:space />
</tr>
</table>
<og:queryButton>
	<og:select name="ORDER_BY" lbl="ORDER_BY" td="no">
		<og:option value="ID,IDTYPE,SEQ"   lbls="ID,IDTYPE,SEQ"   selected="selected" />
		<og:option value="IDTYPE,NAME_JA"     lbls="IDTYPE,NAME_JA"     />
		<og:option value="DEF1"          lbls="DEF1"          />
		<og:option value="DEF2"          lbls="DEF2"          />
		<og:option value="DEF3"          lbls="DEF3"          />
		<og:option value="DEF4"          lbls="DEF4"          />
		<og:option value="DEF5"          lbls="DEF5"          />
		<og:option value="DEF6"          lbls="DEF6"          />
	</og:select>
</og:queryButton>
</form>

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