<?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="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF9510"
	title	= "標準(ポップアップ用)"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />
<!-- 入力チェック -->
<og:columnCheck	command   = "{@command}" />

<!-- DB検索 SQL文記述 debug="true" でSQL文を確認できます。-->
<og:query command="{@command}" debug="false" dbid="{@DBID}" trace="false" scope="request" maxRowCount="{@maxRowCount}">
	<jsp:text>
		SELECT	 USERID											<!-- ﾕｰｻﾞｰID -->
				,NAME_JA										<!-- 名称 -->
		FROM	GF44
	</jsp:text>
	<og:where>
		<og:and value = "USERID  LIKE  '{@USERID}%'"  />		<!-- ﾕｰｻﾞｰID LIKE 画面》ﾕｰｻﾞｰID -->
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}"
				defaultVal = "USERID" />
</og:query>

<!-- viewタグでpopupReturnKeysを設定するとポップアップ時に値を返します -->
<og:view
	viewFormType    = "HTMLTable"
	command         = "{@command}"
	scope           = "request"
	selectedType    = "radio"
	popupReturnKeys = "USERID,NAME_JA"
/>

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