<?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:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />
<og:columnCheck command="{@command}" />
<og:entry command="{@command}" />

<b><font color="red">[STEP1] 仕様するテーブルカラムを指定します。</font></b>

<form method="POST" action="koumoku_edtclm.jsp" target="EDTCLM">

<og:value command="SQL">
	select guiid, guiname, stype from gfx01 where guiid='{@GUIID}'
</og:value>

<table><tr>
<og:column name="GUIID" writable="false" />
<og:column name="GUINAME" writable="false" />
<og:column name="STYPE" writable="false" />
</tr></table>

<og:hidden keys="GUIID,GUINAME,STYPE" vals="{@GUIID},{@GUINAME},{@STYPE}" />

<table>
	<tr>
		<og:select name="TABLE_NAME" value="{@TABLE_NAME}" size="5"
			onChange="renew('koumoku_selclm.jsp','SELCLM');" must="true" >
			<og:option value="" lbl="" />
			<og:queryOption addKey="true">
					select TABLE_NAME
					from USER_TABLES
					where  INSTR(TABLE_NAME,'$') &lt; 1
					order by TABLE_NAME
			</og:queryOption>
		</og:select>
		<og:equals val1="{@TABLE_NAME}" val2="{@TABLE_NAME}" >
			<og:select name="NAMES" lbl="CLM" multiple="multiple" size="5">
				<og:option value="" lbl="" />
				<og:queryOption dbid="{@DBID}">
						select COLUMN_NAME
						from USER_TAB_COLUMNS
						where  TABLE_NAME = '{@TABLE_NAME}'
						order by TABLE_NAME,COLUMN_ID
				</og:queryOption>
			</og:select>
		</og:equals>
	</tr>
</table>

<og:queryButton useCrear="false" usePrevNext="false" usePageSize="false" useRowCount="false" useTimeView="false" />
</form>

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