<?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="query" >
  <script>
	function allCheck( flag , trid ) {
		var objTR = document.getElementById( trid );
		for( i=0; i &lt; objTR.cells.length; i++ ) {
			var objCB = objTR.cells[i].getElementsByTagName( "input" );
			for( j=0; j &lt; objCB.length; j++ ) {
				if( objCB[j].type == "checkbox" ) {
					objCB[j].checked = flag;
				}
			}
		}
	}
  </script>
</og:head>

<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF2110"
	title	= "スキーマ情報取込"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">
	<table >
		<tr>
			<og:column name="DBID"		codeKeyVal="{@DBID_INFO}" />
			<og:column name="SYSTEM_ID" defaultVal="{@LAST.SYSTEM_ID}"    must="true" />
			<og:column name="TBLSYU"    defaultVal="T" addNoValue="false" must="true" />
			<og:column name="TABLE_NAME" size="10"	aimai="V*" />
			<og:column name="USE_RESOURCE" addNoValue="false" defaultVal="true" />
		</tr>
	</table>
	<table>
		<tr id="CH_ROW1">
			<og:input type="checkbox" onClick="allCheck( this.checked,'CH_ROW1' );" checked="checked" style="background-color:Green;" />
			<og:space width="30px" />
			<og:input type="checkbox" name="GF02" lbl="GF02({@LBL.GF02 %S})" value="true" checked="{@NVL.GF02 checked}" />
			<og:input type="checkbox" name="GF05" lbl="GF05({@LBL.GF05 %S})" value="true" checked="{@NVL.GF05 checked}" />
			<og:input type="checkbox" name="GF06" lbl="GF06({@LBL.GF06 %S})" value="true" checked="{@NVL.GF06 checked}" />
			<og:input type="checkbox" name="GF07" lbl="GF07({@LBL.GF07 %S})" value="true" checked="{@NVL.GF07 checked}" />
		</tr>
		<tr id="CH_ROW2">
			<og:input type="checkbox" onClick="allCheck( this.checked,'CH_ROW2' );" style="background-color:Blue;" />
			<og:space  />
			<og:input type="checkbox" name="GF09" lbl="GF09({@LBL.GF09 %S})" value="true" checked="{@GF09}" />
			<og:input type="checkbox" name="GF81" lbl="GF81({@LBL.GF81 %S})" value="true" checked="{@GF81}" />
			<og:input type="checkbox" name="GF82" lbl="GF82({@LBL.GF82 %S})" value="true" checked="{@GF82}" />
			<og:input type="checkbox" name="GF83" lbl="GF83({@LBL.GF83 %S})" value="true" checked="{@GF83}" />
		</tr>
	</table>
	<og:queryButton type="ENTRY" />
</form>

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