<?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	= "GF6100"
	title	= "カレンダー登録"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>
<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />

<!-- 入力チェック -->
<og:columnCheck
	command	= "{@command}"
	columns	= "YYYY"
/>

<!-- 取り消しボタンが押された時に必要です。 -->
<og:entry command = "{@command}"  />

<!-- DB検索 SQL文記述 debug="true" でSQL文を確認できます。-->
<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}">
		select CDJGS,YYYYMM,DY1,DY2,DY3,DY4,DY5,DY6,DY7,DY8,DY9,DY10,
				DY11,DY12,DY13,DY14,DY15,DY16,DY17,DY18,DY19,DY20,
				DY21,DY22,DY23,DY24,DY25,DY26,DY27,DY28,DY29,DY30,DY31,
				UNIQ,FGJ
		from GF13
	<og:where>
		<og:and value = "CDJGS  like '{@CDJGS}%'"   />
		<og:and value = "YYYYMM like '{@YYYY}%'"  />
	</og:where>
		order by CDJGS,YYYYMM
</og:query>

<og:columnEditor column="YYYYMM" must="true" />

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">
<og:writeCheck>
	<og:input name="repeatCount" value="1" lbl="" td="false" size="2"/>
	<og:submit  value="copy"     lbl="COPY"    accesskey="C" />
	<og:submit  value="modify"   lbl="MODIFY"  accesskey="M" />
	<og:submit  value="delete"   lbl="DELETE"  accesskey="Z" />
	<br />
</og:writeCheck>

<!-- HTMLCalendar の最小表示構成。 -->
<!--
<og:view
	viewFormType = "HTMLCalendar"
	command      = "{@command}"
	startNo      = "{@startNo}"
	pageSize     = "{@pageSize}" />
-->

<!-- HTMLCalendar に、calendarParam を適用。 -->
<og:view
	viewFormType = "HTMLCalendar"
	command      = "{@command}"
	startNo      = "{@startNo}"
	pageSize     = "{@pageSize}"
	useParam     = "true"
>
	<og:calendarParam
		 viewKeys	  = "CDJGS"
		 ymKey		  = "YYYYMM"
		 dayKey 	  = "DY"
		 valueKey	  = ""
		 valueBRFlag  = "true"
		 firstWeek	  = "{@FIRST_WEEK}"
		 headerLocale = "{@LANG}"
		 columnSize   = "{@SIZE}"  />
</og:view>

</form>

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