<?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	= "GF6440"
	title	= "Excel出力(ボタン)"
	date	= "2012/08/20"
	author	= "Takahashi Masakazu"
	text	= ""
	version	= "001"
/>

<og:columnCheck minRowCount="1" caseKey="{@selectedAll}" caseVal="false" />

<og:writeTable
	writerClass	= "Excel"
	fileURL		= "{@USER.ID}"
	filename	= "fileout.xlsx"
	columns		= "{@CLMS}"
	encode		= "{@SYS.FILE_ENCODE}"
	selectedAll	= "{@selectedAll}"
/>

<og:forward page="{@SYS.JSP}/fileDownload" useRedirect="true"
	keys="file,name" vals="{@SYS.FILE_URL}{@USER.ID}/fileout.xlsx,{@GUI.NAME}.xlsx" />

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