<?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	= "11_FILEQUERY"
	title	= "ファイルクエリー"
	date	= "2017/06/01"
	author	= "Kazuhiko.Hasegawa"
	text	= ""
	version	= "001"
/>

<og:fileQuery
	command			= "{@command}"
	from			= "{@from}"
	multi			= "{@multi}"
	level			= "{@level}"
	orderBy			= "{@orderBy}"
	desc			= "{@desc}"
	fileType		= "{@fileType}"
	maxRowCount		= "{@maxRowCount}"
	debug			= "{@debug}"
>
	<og:fileWhere
		startsWith		= "{@startsWith}"
		endsWith		= "{@endsWith}"
		instr			= "{@instr}"
		equals			= "{@equals}"
		matches			= "{@matches}"
		unMatches		= "{@unMatches}"
		lastModified	= "{@lastModified}"
		isLarger		= "{@isLarger}"
		isSmaller		= "{@isSmaller}"
		isHidden		= "{@isHidden}"
		useDir			= "{@useDir}"
		notEquals		= "{@notEquals}"
		debug			= "{@debug}"
	/>
</og:fileQuery>

<!-- ViewLinkTag は、指定のカラムにリンクを張ります。keysと、valsに、URLエンコードする値を設定します。 -->
<!-- 子要素の LinkTag は、単独でも使用できます。[カラム名] で、検索結果の各行毎の値を使用できます。 -->
<og:viewLink command="{@command}">
	<og:link column="NAME" href="{@SYS.JSP}/fileDownload" useGamenId="false" target="_NEW" useHrefEncode="true"
		keys="file,name" vals="[PARENT]/[NAME],[NAME]" />
</og:viewLink>

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

<og:fileUpdate
	action			= "{@action}"
	command			= "ENTRY"
	inPath			= "{@from}"
	targetDir		= "{@targetDir}"
	createDir		= "{@createDir}"
	selectedAll		= "{@selectedAll}"
	keepTimeStamp	= "{@keepTimeStamp}"
	caseNN			= "{@action}"
/>

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