<%@ 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>区分一覧</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"> 
      発生箇所
      <ul>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[0]">工程名</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[1]">目標</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[2]">サブシステム</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[3]">機能名</html:link></li>
      </ul>
      対処方針
      <ul>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[4]">対処方法</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[5]">優先度</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[6]">故障度</html:link></li>
      </ul>
      故障状況
      <ul>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[7]">ロケーション</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[8]">OS</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[9]">ブラウザ</html:link></li>
      </ul>
      バージョン
      <ul>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[10]">APバージョン</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[11]">DBバージョン</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[12]">HTMLバージョン</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[13]">機能バージョン</html:link></li>
      </ul>
      品質区分
      <ul>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[14]">エラー内容</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[15]">エラー原因</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[16]">エラー機能箇所</html:link></li>
        <li><html:link forward="/selection" paramId="t" paramName="selectionControl" paramProperty="tableParam[17]">エラー摘出遅延理由</html:link></li>
      </ul>
      その他
      <ul>
        <li><html:link forward="/sysconf">システム情報</html:link></li>
      </ul>
    </td>
    <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>コード</td>
          <td>名称</td>
          <td>略称</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">追加</html:link><br>
<%    }
%>
    </td>
  </tr>
</table>
<%-- 共通ページフッダ --%>
<%@ include file="/jsp/common/PageFooter.inc" %>
</body>
</html:html>
