<?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	= "GFX000"
	title	= "お気に入り編集"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:entry command = "{@command}"/>
<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">

<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}">
	<jsp:text>
		select 	 FGFAVORITE		WRITABLE
				,GUIKEY
				,SEQNO
				,CLASSIFY		FAVORITE_CLASSIFY
				,NAME_JA
				,FGFAVORITE
				,LAST_ACCESS
				,UNIQ
		from GEA09
	</jsp:text>
	<og:where>
		<og:and value="SYSTEM_ID	=    '{@MEM.SYSTEM_ID}'" />
		<og:and value="USERID		=    '{@USER.ID}'" />
		<og:and value="FGFAVORITE	=    '{@FGFAVORITE}'" />
		<og:and value="GUIKEY		like '{@GUIKEY}%'" />
		<og:and value="NAME_JA		like '{@NAME_JA}%'" />
		<og:and value="CLASSIFY	like '{@FAVORITE_CLASSIFY}%'" />
	</og:where>
	<jsp:text>
		order by SEQNO,CLASSIFY,GUIKEY
	</jsp:text>
</og:query>
<og:columnEditor column="FAVORITE_CLASSIFY" must="true" />
<og:columnEditor column="SEQNO" must="true" />
<og:columnEditor column="NAME_JA" must="true" />

<og:writeCheck>
	<og:submit  value="modify"    lbl="MODIFY"     accesskey="M" />
	<og:submit  value="delete"    lbl="DELETE"     accesskey="D" />
	<og:equals val1="{@FGFAVORITE}" nullCheck="true" >
		<og:submit  value="clearTime" lbl="CLEAR_TIME" onClick="javaScript:return confirm('{@LBL.CLEAR_ALL_TIME}');" />
	</og:equals>
</og:writeCheck>

<og:text><a href="{@MEM.CONTEXT_URL}jsp/index.jsp" target="_top" >To Top</a></og:text>

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


</form>


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