<?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	= "GF7160"
	title	= "ImageTimeBarﾀｸﾞ"
	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 = 'GF'
		and   NAME_JA is not null
		and   DYSET   is not null
		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}"
	width		= "{@width}"
	height		= "{@height}"
	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}"
	useScrollBar = "false"
/>

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