<?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	= "GF9110"
	title	= "標準(タグ)"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>
<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />
<!-- 入力チェック -->
<og:columnCheck
	command   = "{@command}"
	columns   = "*"
/>

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

<!-- DB検索 SQL文記述 debug="true" でSQL文を確認できます。-->
<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}">
	<!-- SELECT文は、キー、日時、状況コードが、必須項目 -->
		select 	NAME_JA AS KEY ,DYSET , LABEL_NAME as flag ,
				 NAME_JA, CLM ,DYUPD,'' as TIPS,SYSTEM_ID,LANG,KBSAKU
		from GF41
		where SYSTEM_ID = 'XX'
		order by 1,2
</og:query>

<og:columnEditor column="KEY" label="登録完了" />

<og:viewMarker command="{@command}">
	<og:columnMarker column="TIPS" useFormatDeco="true" >
[#KEY]:[KEY]
[#DYSET]:[DYSET]
	</og:columnMarker>
</og:viewMarker>

<og:viewLink command="{@command}">
	<og:link column="CLM" gamenId="GF9110" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,LANG,CLM,KBSAKU,IMAGE"
		vals="NEW,[SYSTEM_ID],[LANG],[CLM],[KBSAKU],true" />
</og:viewLink>

<!-- DB検索結果を表示させます。 -->
<!-- checked="true" で、チェック済みの状態で表示できます。 -->
<!-- selectedType="checkbox(デフォルト)/radio/hidden" から、選べます。-->
<og:view
	viewFormType = "ImageTimeBar"
	command    = "{@command}"
	noDisplay  = "{@extDisplay}"
	checked    = "{@checked}"
	startNo    = "{@startNo}"
	pageSize   = "{@pageSize}"
	useParam   = "true" >
	<og:timeBarParam
		startDate		= "{@startDate}"
		timeSpan		= "{@timeSpan}"
		labelClms		= "NAME_JA,DYUPD"
		useLegend		= "{@useLegend}"
		maxLabelWidth	= "{@maxLabelWidth}"
		maxTimeWidth	= "{@maxTimeWidth}"
		chartHeight		= "{@chartHeight}"
		headerHeight	= "{@headerHeight}"
		tipsClm			= "TIPS"
		linkClm			= "CLM"
		padding			= "{@padding}"
		margin			= "{@margin}"
		useLastData		= "{@useLastData}"
		debug			= "{@debug}"
	/>
</og:view>

<og:view
	viewFormType = "HTMLTable"
	command    = "{@command}"
/>

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