<?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	= "GF2021"
	title	= "テーブルカラム(マスタ利用)"
	date	= "2013/05/30"
	author	= "Takahashi Masakazu"
	text	= ""
	version	= "001"
/>

<og:entry command="{@command}" >
	<og:columnSet command="{@command}" columnId="SYSTEM_ID" action="NULLSET" value="{@MEM.SYSTEM_ID}"   />
	<og:columnSet command="{@command}" columnId="CLM"       action="NULLSET" value="{@MEM.CLM}"         />
</og:entry>

<og:message lbl="MSG0045" 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 = "HTMLTable"
	command    = "{@command}"
	checked    = "{@checked}"
	noDisplay  = "UNIQ,FGJ"
	noWritable = "TABLENAME_JA,UNIQ"
	startNo    = "{@startNo}"
	pageSize   = "{@pageSize}" />

<og:hidden name="SQL" >
  <jsp:text>
	INSERT INTO GF05
		(TABLE_NAME,CLM,SEQNO,NAME_JA,CLS_NAME,USE_LENGTH,DATA_DEFAULT,NOT_NULL,
		 RENDERER,EDITOR,DBTYPE,BIKO,SYSTEM_ID,TBLSYU,KBCLM,
		 CDKH,FGJ,DYSET,DYUPD,USRSET,USRUPD,PGUPD)
	VALUES
		([TABLE_NAME],[CLM],[SEQNO],[NAME_JA],[CLS_NAME],[USE_LENGTH],[DATA_DEFAULT],[NOT_NULL],
		 [RENDERER],[EDITOR],[DBTYPE],[BIKO],[SYSTEM_ID],[TBLSYU],[KBCLM],
		 'A','1','{@USER.YMDH}','{@USER.YMDH}','{@USER.ID}','{@USER.ID}','{@GUI.KEY}')
  </jsp:text>
</og:hidden>

<og:hidden name="sqlType" value="{@command}" />

</form>

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