<?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	= "GFX006"
	title	= "PL/SQL2(登録)"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />

<og:columnCheck
	command   = "{@command}"
	columns   = "TABLESPACE_NAME,SYSTEM_ID,TBLSYU,NAME_JA"
/>

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

<!--
<og:file action = "exists" file1="GF01.xml"  >
	<og:message comment="GF01.xml がありません。エラーです。" />
</og:file>
-->

<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}">
		select SYSTEM_ID,TBLSYU,TABLESPACE_NAME,NAME_JA,FILE_NAME,
				SIZE_AUTO,SIZE_DATA,STATUS,UNIQ,FGJ,USRSET
		from GF01
	<og:where>
		<og:and value = "FGJ             in  ('0','1')"              />
		<og:and value = "SYSTEM_ID  =  '{@SYSTEM_ID}'"       />
		<og:and value = "TBLSYU          like '{@TBLSYU}%'"          />
		<og:and value = "TABLESPACE_NAME like '{@TABLESPACE_NAME}%'" />
		<og:and value = "NAME_JA         like '{@NAME_JA}%'"         />
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}"
				defaultVal = "SYSTEM_ID,TABLESPACE_NAME,TBLSYU" />
</og:query>

<og:viewLink command="{@command}">
	<og:link column="TABLESPACE_NAME" gamenId="GF2000" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,TBLSYU,TABLESPACE_NAME,NAME_JA"
		vals="NEW,[SYSTEM_ID],[TBLSYU],[TABLESPACE_NAME],[NAME_JA]" />
</og:viewLink>

<og:viewMarker command="{@command}">
	<og:columnMarker column="FILE_NAME" >
		<img src="{@SYS.JSP_IMG}/pc.gif" alt="[FILE_NAME]" />
	</og:columnMarker>
</og:viewMarker>

<form method="POST" action="forward.jsp" target="RESULT">
<og:writeCheck>
	<og:submit  value="copy"     lbl="COPY"    accesskey="C" />
	<og:submit  value="modify"   lbl="MODIFY"  accesskey="M" />
<br />
</og:writeCheck>

<og:view
	viewFormType = "HTMLTable"
	command    = "{@command}"
	noDisplay  = "UNIQ"
	startNo    = "{@startNo}"
	checked    = "{@checked}"
	pageSize   = "{@pageSize}" />
</form>

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