<?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">
	<script type="text/javascript" src="an0001a.js" ><!-- --></script>
	<style type="text/css">
		.init  { color: gray; }
		input#backButton { margin:10px; }
		div.orgRowCntMsg { margin:0px 12px; }
	</style>
</og:head>
<jsp:directive.include file="/jsp/custom/query_info.jsp" />

<og:equals val1="{@command}" nullCheck="true">
	<og:value command="SET" key="command" value="NEW" />
</og:equals>

<og:value command="SET" key="QASTR">
	select 'RADIO' KBUNRUI, '{@LBL.ANM0028}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
	union all
	select '' KBUNRUI, '{@LBL.ANM0029}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
	union all
	select '' KBUNRUI, '{@LBL.ANM0029}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
	union all
	select '' KBUNRUI, '{@LBL.ANM0029}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
	union all
	select '' KBUNRUI, '{@LBL.ANM0029}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
	union all
	select '' KBUNRUI, '{@LBL.ANM0029}' QANAIYO, '' QAGROUP, '' KNOTE from DUAL
</og:value>

<og:query command="{@command}" displayMsg="" notfoundMsg="" quotCheck="false">
	{@QASTR} union all {@QASTR} union all {@QASTR} union all {@QASTR} union all {@QASTR} union all
	{@QASTR} union all {@QASTR} union all {@QASTR} union all {@QASTR} union all {@QASTR}
</og:query>

<!--
<og:equals val1="NEW" val2="{@command}">
	<og:entry command="COPY" repeatCount="10" />
</og:equals>
-->
<og:equals val1="INSERT|COPY|REALDELETE" val2="{@command}" contains="true">
	<og:entry command="ENTRY" selectedAll="true"/>
	<og:entry command="{@command}" repeatCount="{@repeatCount}" />
</og:equals>
<og:equals val1="ENTRY" val2="{@command}">
	<jsp:directive.include file="/jsp/common/history_back.jsp" />
	<og:entry command="ENTRY" selectedAll="true" />
	<og:bizLogic logics="an.AN0001A" selectedAll="true" />
	<og:forward page="preview.jsp" gamenId="AN0001" useRedirect="true" keys="KEY,BACK_GAMENID" vals="{@RETURN},{@GUI.KEY}" />
</og:equals>

<div id="an0001a">

<og:columnEditor column="QANAIYO" must="true" clazz="init" />
<og:columnEditor column="KBUNRUI" addNoValue="true" label="KBUNRUI2" codeName="KBUNRUI2" />
<og:columnEditor column="QAGROUP" size="25" />
<og:columnEditor column="KNOTE" label="QANOTE" size="25" />

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" style="padding-left:20px;">
<og:writeCheck>
	<og:submit  value="index"   lbl="AN0001"    command="ENTRY"   accesskey="E" optionAttributes="style='background-color:orange;'" />
	&amp;nbsp;&amp;nbsp;&amp;nbsp;
	<og:input name="repeatCount" value="1" lbl="" td="false" size="2"/>
	<og:submit  value="index"   lbl="INSERT"    command="INSERT"   accesskey="I" />
	<og:submit  value="index"   lbl="COPY"      command="COPY"   accesskey="C" />
	<og:submit  value="index"   lbl="DELETE"    command="REALDELETE" accesskey="D" />
<br />
</og:writeCheck>

<og:view
	command = "{@command}"
	writable = "true"
	checked = "false"
	useHilightRow = "false"
	columnWritable = "QANAIYO,KBUNRUI,QAGROUP,KNOTE"
/>
</form>

<og:text>
<input type="hidden" id="QMSG" value="{@LBL.ANM0028}" />
<input type="hidden" id="AMSG" value="{@LBL.ANM0029}" />
</og:text>
</div>

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