<?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="init" />

<og:readTable
	command		= "NEW"
	fileURL		= "{@SYS.REAL_PATH}report/{@USER.BASE_GAMENID}"
	filename	= "fileDownloadList.txt"
	scope		= "request"
	mainTrans	= "false"
/>

<og:equals val1="{@command}" val2="REALDELETE">
	<og:file action="delete" fileURL="{@SYS.REAL_PATH}report/{@USER.BASE_GAMENID}" file1="{@MODELNAME}.ods" useStop="false">
		<og:message lbl="MSG0064" comment="ファイルが存在していません。" />
	</og:file>
</og:equals>

<og:entry command="{@command}" scope="request">
	<og:columnSet command="INSERTONE" columnId="WRITABLE" action="SET" value="1"/>
	<og:columnSet command="INSERTONE" columnId="REPNAME" action="SET" value="{@REPNAME}"/>
	<og:columnSet command="INSERTONE" columnId="MODELNAME" action="SET" value="{@MODELNAME}"/>
	<og:columnSet command="INSERTONE" columnId="TYPE" action="SET" value="{@TYPE}"/>
	<og:columnSet command="INSERTONE" columnId="ISREP" action="SET" value="Y"/>
	<og:columnSet command="MODIFY" columnId="REPNAME" action="SET" value="{@REPNAME}"/>
	<og:columnSet command="MODIFY" columnId="MODELNAME" action="SET" value="{@MODELNAME}"/>
	<og:columnSet command="MODIFY" columnId="TYPE" action="SET" value="{@TYPE}"/>
</og:entry>

<og:writeTable
	fileURL		= "{@SYS.REAL_PATH}report/{@USER.BASE_GAMENID}"
	filename	= "fileDownloadList.txt"
	scope		= "request"
/>

<og:forward page="result_REPORT.jsp" keys="command" vals="RENEW" useRedirect="true" />

</jsp:root>
