<%@ page contentType="text/html; charset=Windows-31J"%>
<%@ taglib uri="/struts-html" prefix="html" %>
<%@ taglib uri="/struts-bean" prefix="bean" %>
<%@ taglib uri="/struts-logic" prefix="logic" %>
<%@ taglib uri="/terasoluna-struts" prefix="ts" %>
<%@ taglib uri="/terasoluna" prefix="t" %>
<%@ taglib uri="/terasoluna-library" prefix="tl" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<title>一覧表示画面</title>
</head>

<body>
<table border="0" style="width:100%;">
    <tr>
        <td align="center">
            <html:img module="/" page="/image/terasoluna_logo.gif" />
        </td>
    </tr>
    <tr>
        <td align="center">
            <h2>
                一覧表示画面
            </h2>
        </td>
    </tr>
</table>

<html:messages id="message" message="true">
    <bean:write name="message"/>
</html:messages>

<ts:pageLinks id="userListPageLinks"
              action="/userManager/listBL" name="_userManagerForm" rowProperty="row"
              totalProperty="totalCount" indexProperty="startIndex"
              currentPageIndex="now" totalPageCount="total"/>

<div style="text-align:center">
<h5>

<bean:write name="now"/>／<bean:write name="total"/>（<bean:write name="_userManagerForm" property="totalCount"/>）

<p>

<bean:write name="userListPageLinks" filter="false"/>

<p>

<table align="center" frame="box" border="1">
    <tr>
        <td width="30"  align="center"><b>ID</b></td>
        <td width="100" align="center"><b>NAME</b></td>
        <td width="30"  align="center"><b>AGE</b></td>
        <td width="80"  align="center"><b>BIRTH</b></td>
    </tr>
    <logic:iterate id="userBean" name="_userManagerForm" property="users">
    <tr>
        <td align="center">
          <bean:write name="userBean" property="id"/>
        </td>
        <td>
          <bean:write name="userBean" property="name"/>
        </td>
        <td align="center">
          <bean:write name="userBean" property="age"/>
        </td>
        <td align="right">
          <bean:write name="userBean" property="birth"/>
        </td>
    </tr>
    </logic:iterate>
</table>

<p>
<bean:write name="userListPageLinks" filter="false"/>
</p>

</h5>

</div>

<hr>

<ts:link page="/logon/menuSCR.do">メニュー</ts:link>

</body>
</html:html>