<?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="MSG0044" 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:readTable
	command		= "NEW"
	modifyType	= "A"
	fileURL		= "{@USER.ID}"
	filename	= "{@GUI.KEY}.xls" 
	encode		= "UnicodeLittle"
	maxRowCount	= "10000" />

<!-- DB検索結果を表示させます。 -->
<og:view
	viewFormType = "HTMLTable"
	command 	 = "{@command}"
	columnDisplay = "SEQ,PARTNO,CHAPTERNO,TITLE"
	startNo      = "{@startNo}" 
	checked		 = "true"
	pageSize     = "10000"
/>

<og:hidden name="names" 
			value="SEQ,TITLE,ANSWER,DIFFICULTY,PARTNO,PART,CHAPTERNO,CHAPTER,BIG_CLASS,INSIDE_CLASS,KEYWORD,CONTENTS,SAMPLE,URL" />
<og:hidden name="SQL" >
  <jsp:text>
	INSERT INTO GE27
		(SEQ,TITLE,ANSWER,DIFFICULTY,PARTNO,PART,CHAPTERNO,CHAPTER,BIG_CLASS,INSIDE_CLASS,KEYWORD,CONTENTS,SAMPLE,URL,
		 FGJ,DYSET,DYUPD,USRSET,USRUPD,PRGUPD)
	VALUES
		(?,?,?,?,?,?,?,?,?,?,?,?,?,?,
		 '1','{@USER.YMDH}','{@USER.YMDH}','{@USER.ID}','{@USER.ID}','{@GUI.KEY}')
  </jsp:text>
</og:hidden>
</form>

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