<?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	= "GF9000"
	title	= "標準(SQL,PLSQL)"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

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

<!-- 変更はここから -->
<table summary="layout" >
<tr>
	<!-- システムID -->
	<og:column name="SYSTEM_ID" defaultVal="{@SYS.SYSTEM_ID}" must="true" />
	<!-- 言語 -->
	<og:column name="LANG" defaultVal="zh" />
	<!-- 作成区分 -->
	<og:column name="KBSAKU"  defaultVal="2" onChange="renew('query.jsp','QUERY');" />
</tr>
<tr>
	<!-- 項目 -->
	<og:select name="CLM" >
		<og:option value="" lbl="" />			<!-- データなしのオプションを追加 -->
		<og:queryOption value="{@CLM}" >
				SELECT CLM,CLM FROM GF41 
				WHERE KBSAKU LIKE '{@KBSAKU}%'
				AND   FGJ IN ('0','1')
				GROUP BY CLM
				ORDER BY 1
		</og:queryOption>
	</og:select>
	<!-- 名称(漢字) -->
	<og:column name="NAME_JA"  clazz="aimai"  />
	<!-- 画像表示 -->
	<og:select name="IMAGE"  lbl="IMAGE_VIEW"  >
		<og:option value="true"  lbl ="true"  selected="selected" />
		<og:option value="false" lbl ="false"  />
	</og:select>
</tr>
</table>

<!-- 拡張検索条件 -->
<og:hideMenu>
<table>
<tr>
	<!-- 表示名称 -->
	<og:column name="LABEL_NAME" clazz="aimai" />
	<!-- 表示順 -->
	<og:select name="ORDER_BY" lbl="ORDER_BY">
		<og:option value="SYSTEM_ID,CLM,LANG"        lbl ="CLM"     selected="selected" />
		<og:option value="SYSTEM_ID,LANG,NAME_JA"    lbls="LANG,NAME_JA"    />
		<og:option value="SYSTEM_ID,LANG,LABEL_NAME" lbls="LANG,LABEL_NAME" />
	</og:select>
</tr>
</table>
</og:hideMenu>
<og:queryButton />
</form>

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