<%@ page contentType="text/html;charset=Shift_JIS" language="java" %>
<%-- 共通ページヘッダ --%>
<%@ include file="/jsp/common/PageHeader.inc" %>
<%-- bean --%>
<jsp:useBean id="selectionControl" scope="session" type="SelectionControl" />

<html:html locale="true">
<head>
<!-- 区分一覧 -->
<title><bean:message key="selectionlist.title.displayname" /></title>
<html:base/>
<LINK rel="stylesheet" href="style.css">
</head>

<body>
<!--======================= メニュー9 ==============================-->
<%@ include file="/jsp/common/Menu9.inc" %>
<!--======================= メニュー9 end ==========================-->
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="bak2" valign="top"> 
      <p><b><bean:message key="selectionlist.category1.displayname" /></b><br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[0]">
        <bean:message key="pno.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[1]">
        <bean:message key="milestone.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[2]">
        <bean:message key="subsystem.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[3]">
        <bean:message key="functionName.displayname" />
        </html:link></br>
      <p><b><bean:message key="selectionlist.category2.displayname" /></b><br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[4]">
        <bean:message key="resolution.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[5]">
        <bean:message key="priority.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[6]">
        <bean:message key="severity.displayname" />
        </html:link></br>
      <p><b><bean:message key="selectionlist.category3.displayname" /></b><br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[7]">
        <bean:message key="location.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[8]">
        <bean:message key="os.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[9]">
        <bean:message key="browser.displayname" />
        </html:link></br>
      <p><b><bean:message key="selectionlist.category4.displayname" /></b><br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[10]">
        <bean:message key="appVersion.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[11]">
        <bean:message key="dbVersion.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[12]">
        <bean:message key="htmlVersion.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[13]">
        <bean:message key="specVersion.displayname" />
        </html:link></br>
      <p><b><bean:message key="selectionlist.category5.displayname" /></b><br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[14]">
        <bean:message key="errorType.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[15]">
        <bean:message key="errorCause.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[16]">
        <bean:message key="errorPoint.displayname" />
        </html:link></br>
        <html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[17]">
        <bean:message key="errorDelayReason.displayname" />
        </html:link></br>
      <p><b><bean:message key="selectionlist.category6.displayname" /></b><br>
        <html:link forward="/sysconf">
        <bean:message key="systeminfo.displayname" />
        </html:link></br>
      </ul>
    <td valign="top"> 
<%    if (selectionControl.getTableName() != null) {	//テーブル名がnullでない場合
%>
      <table cellpadding="3" cellspacing="1">
        <tr class="label3"> 
          <td colspan="6">
            <div align="center">
              <%= selectionControl.getTableNameJapanese() %></div>
          </td>
        </tr>
        <tr class="label3"> 
          <td><bean:message key="code.displayname" /></td>
          <td><bean:message key="name.displayname" /></td>
          <td><bean:message key="shortName.displayname" /></td>
        </tr>
        <logic:iterate id="selection" name="selectionList" scope="request" type="ISelection" >
          <tr class="bak1"> 
            <td><%= selection.getCode() %></td>
            <td>
              <html:link forward="/selection/update" name="selection" property="mapping">
                <%= selection.getName() %>
              </html:link>
            </td>
            <td><%= selection.getShortName() %></td>
        </tr>
        </logic:iterate>
      </table>
      
      <html:link forward="/selection/add" name="selectionControl"  property="mapping">
      <bean:message key="selection.add.displayname" />
      </html:link><br>
<%    }
%>
    </td>
  </tr>
</table>
<%-- 共通ページフッダ --%>
<%@ include file="/jsp/common/PageFooter.inc" %>
</body>
</html:html>
