<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />
<og:head headType="query" >
	<script type="text/javascript">
	  function check(value){
		if(value == "JSP"){
		  document.getElementById("JSP_PATH").disabled = false;
		  document.getElementById("JSP_DIR" ).disabled = false;
		  document.getElementById("SQL_PATH").disabled = true;
		  document.getElementById("SQL_DIR" ).disabled = true;
		}
		else if(value == "SQL"){
		  document.getElementById("JSP_PATH").disabled = true;
		  document.getElementById("JSP_DIR" ).disabled = true;
		  document.getElementById("SQL_PATH").disabled = false;
		  document.getElementById("SQL_DIR" ).disabled = false;
		}
	  }
	</script>
</og:head>

<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "DOC23"
	title	= "ｿｰｽGrep検索"
	date	= "2015/07/03"
	author	= "K.Hasegawa"
	text	= ""
	version	= "001"
/>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">
	<!-- 変更はここから -->
	<table summary="layout" >
		<tr>
			<td><input type="radio" name="CHBOX" value="JSP" checked="checked" onClick="check(value);" />JSP</td>
			<td><og:column name="JSP_PATH" lbl="{@LBL.PATH}" size="60" maxlength="500" defaultVal="{@LAST.JSP_PATH}" useRealTimeCheck="false"/></td>
			<td><og:column name="JSP_DIR"  lbl="DIR" defaultVal="{@LAST.JSP_DIR}" /></td><td> (.jsp|.js UTF-8)</td>
		</tr>
		<tr>
			<td><input type="radio" name="CHBOX" value="SQL" onClick="check(value);" />PL/SQL</td>
			<td><og:column name="SQL_PATH" disabled="true" lbl="{@LBL.PATH}" size="60" maxlength="500" defaultVal="{@LAST.SQL_PATH}" useRealTimeCheck="false"/></td>
			<td><og:column name="SQL_DIR"  disabled="true" lbl="DIR" defaultVal="{@LAST.SQL_DIR}" /></td><td> (.sql Windows-31J)</td>
		</tr>
	</table>
	<table summary="layout" >
		<tr>
			<og:column name="keyword" size="50" defaultVal="[^\p{ASCII}　～【】●×■□◆○→←⇒※：]"
										style="font-family:'ＭＳ Ｐゴシック','MS PGothic','メイリオ', Meiryo "	/>
			<td><og:link href="http://docs.oracle.com/javase/jp/8/docs/api/java/util/regex/Pattern.html#sum"
						useGamenId="false" target="_new" lbl="正規表現" /></td>
			<og:column name="maxLevel"	editor="NUMMENU"	param="1,5,1"	defaultVal="2"	/>
			<og:column name="modify"	codeKeyVal="TODAY YESTERDAY LAST_WEEK MONTH LAST_MONTH LAST_YEAR" />
		</tr>
		<tr>
			<og:column name="OMIT_PG"   lbl="{@LBL.OMIT}PG"				size="30"	value="BASP0011.sql|BASP0062.sql"	/>
			<og:column name="OMIT_WORD" lbl="{@LBL.OMIT}{@LBL.YOYAKU}"	size="60"	colspan="4"
					value="(?!.*CON_NMRTN)(?!.*LOCAL_MSG_RTN)(?!.*BASP0062)"	/>
		</tr>
	</table>

	<og:queryButton type="SELECT" />
</form>

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