<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>更新</title>
<link rel="stylesheet" href="view/css/import.css" />
</head>

<body>
<view:seedmsg>
<header>
	<nav>
	<ul>
		<li><a href="menu.do">メニュー</a></li>
		<li><a href="logoff.do">ログオフ</a></li>
	</ul>
	</nav>
	<div>
		更新入力
	</div>
</header>
<main>
	<header>
		<div id="topMessage">${MESSAGE}</div>
	</header>
<!--
	<form id="form" method="post" enctype="multipart/form-data" >
-->
	<form id="form" method="post">
	<input type="hidden" id="id" value="${Id}" />
	<section>
		<dl class="body">
			<dt><label for="fooId">FOO</label></dt>
			<dd><input type="text" name="FooId" id="fooId" maxlength="32" value="${FooId}" class="code" /></dd>
			<dt><label for="hooId">HOO</label></dt>
			<dd><input type="text" name="HooId" id="hooId" maxlength="48" value="${HooId}" class="code" /></dd>
			<dt><label for="torokuDatetime">登録日時</label></dt>
			<dd><input type="text" name="TorokuDatetime" id="torokuDatetime" maxlength="10" value="${view:datefmt(TorokuDatetime, 'yyyyMMdd')}" class="date" /></dd>
			<dt><label for="fooName" id="fooNameLabel">FOO_NAME</label></dt>
			<dd><input type="text" name="FooName" id="fooName" maxlength="50" value="${FooName}" class="text" /></dd>
			<dt><label for="fooAddress">FOO_ADDRESS</label></dt>
			<dd><input type="text" name="FooAddress" id="fooAddress" maxlength="50" value="${FooAddress}" class="text" /></dd>
			<dt><label for="fooPhone">FOO_PHONE</label></dt>
			<dd><input type="text" name="FooPhone" id="fooPhone" maxlength="15" value="${FooPhone}" class="phone" /></dd>
			<dt><label>ROO_CHECK</label></dt>
			<utl:checked var="val" name="FooCheck" value="&amp;" />
			<dd><input type="checkbox" name="FooCheck" value="${val}" /></dd>
			<dt><label>ROO_CHECK2</label></dt>
			<utl:checked var="val" name="FooCheck2" value="2" default="2" />
			<dd><input type="checkbox" name="FooCheck2" value="${val}" /></dd>
<!--
				<dt><label for="rooFile">ROO_FILE</label></dt>
				<dd><input type="file" name="RooFile" id="rooFile" /></dd>
-->
		</dl>
	</section>
	<aside>
	</aside>
	<footer>
		<button type="button" class="menu">メニューへ</button>
		<button type="button" class="update">更新</button>
<!--		<button type="submit" name="AID" value="update">更新</button> -->
		<c:if test="${not empty Id}" >
		<button type="button" class="delete">削除</button>
		</c:if>
	</footer>
	</form>
</main>
<%--
<utl:param var="prm" />
<jsp:include page="/UPDATE2.do?${prm}" />
--%>
<%--
<jsp:directive.include file="/UPDATE2.do" />
--%>
<footer>
	<nav>
	</nav>
	<section>
	</section>
</footer>

<script src="${CONTEXT}/view/js/jquery.min.js"></script>
<script src="${CONTEXT}/view/js/submit.js"></script>
<script src="${CONTEXT}/view/js/dom.js"></script>
<script src="${CONTEXT}/view/js/msgsts.js"></script>
<script src="${CONTEXT}/view/js/master/update.js"></script>
</view:seedmsg>
</body>
</html>
