<?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	= "GFX002"
	title	= "逆引登録"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:message lbl="MSG0046" comment="変更処理を行います。" /><br />
<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="CONTENTS">
<og:writeCheck>
	<og:submit  value="entry"   lbl="ENTRY" accesskey="E" />
	<og:submit  value="reset"   lbl="RESET" accesskey="R" />
	<og:input type="reset" name="command" lbl="MSG0011" td="false" />
</og:writeCheck>

<og:columnEditor column="BIG_CLASS" must="true" editor="INDBMENU" addNoValue="false" >
	<jsp:text>select BIG_CLASS,BIG_CLASS FROM GE27 GROUP BY BIG_CLASS ORDER BY 1</jsp:text>
</og:columnEditor>

<og:columnEditor column="INSIDE_CLASS" must="true" editor="INDBMENU" addNoValue="false" >
	<jsp:text>select INSIDE_CLASS,INSIDE_CLASS FROM GE27 GROUP BY INSIDE_CLASS ORDER BY 1</jsp:text>
</og:columnEditor>

<!-- DB検索結果を表示させます。 -->
<og:view
	viewFormType = "HTMLFormatTextField"
	command 	 = "{@command}"
	noWritable   = "SEQ"
	noDisplay    = "FGJ,DYSET,DYUPD,USRSET,USRUPD,PGUPD"
	skip         = "true"
	checked      = "{@checked}"
	startNo      = "{@startNo}" 
	pageSize     = "{@pageSize}"
>
<table>
<tr>[TITLE]  [PARTNO]    [SEQ]       </tr>
<tr>[ANSWER] [CHAPTERNO] [DIFFICULTY]</tr>
</table>
<table>
<tr>[KEYWORD]    [BIG_CLASS]    </tr>
<tr>[URL]        [INSIDE_CLASS] </tr>
</table>
<table>
<tr>[CONTENTS]</tr>
<tr>[SAMPLE]  </tr>
</table>
</og:view>

<og:hidden name="SQL" >
  <jsp:text>
	UPDATE GE27 SET
			TITLE			= [TITLE]		,
			ANSWER			= [ANSWER]		,
			DIFFICULTY		= [DIFFICULTY]	,
			PARTNO			= [PARTNO]		,
			CHAPTERNO		= [CHAPTERNO]	,
			BIG_CLASS		= [BIG_CLASS]	,
			INSIDE_CLASS	= [INSIDE_CLASS],
			KEYWORD			= [KEYWORD]		,
			CONTENTS		= [CONTENTS]	,
			SAMPLE			= [SAMPLE]		,
			URL				= [URL]			,
			FGJ				= '1',
			DYUPD			= '{@USER.YMDH}',
			USRUPD			= '{@USER.ID}',
			PGUPD			= '{@GUI.KEY}'
	WHERE SEQ = [SEQ]
  </jsp:text>
</og:hidden>
</form>

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