<jsp:directive.page pageEncoding="UTF-8" />
<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}">
		SELECT YOYAKU,DBNAME,
			CDYOYAKU,NAME_JA,ALTERNATE,CONTENTS,RANKCOM,FGJ,UNIQ
		FROM GF19
	<og:where>
		<og:and value = "YOYAKU		like  '{@YOYAKU}'"		/>
		<og:and value = "CONTENTS	like  '{@CONTENTS}'"	/>
		<og:and value = "CDYOYAKU	=     '{@CDYOYAKU}'"	/>
		<og:and value = "RANKCOM	=     '{@RANKCOM}'"		/>
		<og:and value = "DBNAME		=     '{@DBNAME}'"		/>
	</og:where>
		ORDER BY YOYAKU,DBNAME
</og:query>

<!-- formタグでリクエストフィールドを囲います。oneClick()関数は、２重押し防止JavaScriptです。 -->
<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">

<!-- 複写、変更、削除ボタンを作成します。value属性+.jspの画面に制御が移ります。 -->
<!-- このとき、command=(value属性の値の大文字)が設定されます。 command属性で設定しなおすことも出来ます。-->
<og:writeCheck>
	<og:submit  action="COPY"    noWritable="null"  />
	<og:submit  action="MODIFY"  noWritable="DBNAME,YOYAKU"  />
<br />
</og:writeCheck>

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

</form>
