<?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" />
<jsp:directive.page errorPage="/jsp/common/error.jsp" />
<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />

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

<og:entry command = "{@command}" >
	<og:columnSet command="{@command}" columnId="USE_LENGTH" action="TBLSET" value="[MAX_LENGTH]" />
</og:entry>

<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" />
</og:writeCheck>

<og:view
	viewFormType = "HTMLTable"
	command    = "{@command}"
	noDisplay  = "UNIQ,FGJ"
	noWritable = "SYSTEM_ID,TBLSYU"
	startNo    = "{@startNo}"
	pageSize   = "{@pageSize}" />

<og:hidden name="SQL" >
  <jsp:text>
	UPDATE GF81 SET
			SYSTEM_ID	= [SYSTEM_ID]
		,	TBLSYU		= [TBLSYU]
		,	OBJ_NAME	= [OBJ_NAME]
		,	SEQNO		= [SEQNO]
		,	CLM 		= [CLM]
		,	CLS_NAME	= [CLS_NAME]
		,	USE_LENGTH	= [USE_LENGTH]
		,	TABLE_NAME	= [TABLE_NAME]
		,	MAX_LENGTH	= [MAX_LENGTH]
		,	CLM_NAME	= [CLM_NAME]
		,	CDKH		= 'C'
		,	FGJ			= '1'
		,	DYUPD		= '{@USER.YMDH}'
		,	USRUPD		= '{@USER.ID}'
		,	PGUPD		= '{@GUI.KEY}'
	WHERE UNIQ  = [UNIQ]
  </jsp:text>
</og:hidden>
</form>

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