<?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	= "GF2000"
	title	= "テーブルスペース"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<!-- データが選ばれていなければエラー -->
<og:columnCheck minRowCount="1" command="{@command}" >
	<jsp:directive.include file="/jsp/common/history_back.jsp" />
</og:columnCheck>

<og:entry command="{@command}" />

<og:message lbl="MSG0046" comment="変更処理を行います。" /><br />
<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">
<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" />
<br />
</og:writeCheck>

<og:view
	viewFormType = "HTMLFormatTextField"
	command    = "{@command}"
	noDisplay  = "UNIQ,FGJ"
	noWritable = "TBLSYU,TABLESPACE_NAME,SYSTEM_ID,FGJ"
	startNo    = "{@startNo}"
	skip       = "true"
	checked    = "{@checked}"
	pageSize   = "{@pageSize}" >
<table>
<tr><td>[#NAME_JA]  </td><td colspan="2"> [$NAME_JA]   </td><td></td></tr>
<tr><td>[#FILE_NAME]</td><td colspan="2"> [$FILE_NAME] </td><td></td></tr>
<tr>[SIZE_DATA]       [STATUS]          </tr>
<tr>[TBLSYU]          '1'             </tr>
</table>
</og:view>

<og:hidden name="SQL" >
	UPDATE GF01 SET
			NAME_JA			= [NAME_JA]		,
			FILE_NAME		= [FILE_NAME]	,
			SIZE_DATA		= [SIZE_DATA]	,
			STATUS			= [STATUS]		,
			DYUPD			= '{@USER.YMDH}',
			USRUPD			= '{@USER.ID}',
			PGUPD			= '{@GUI.KEY}'
	WHERE SYSTEM_ID       = [SYSTEM_ID]
	AND   TBLSYU          = [TBLSYU]
	AND   TABLESPACE_NAME = [TABLESPACE_NAME]
</og:hidden>
</form>

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