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

<html:html locale="true">
<head>
<title> <bean:message key="detail2.tile.displayname" /></title>
<html:base/>
<LINK rel="stylesheet" href="style.css">
<SCRIPT LANGUAGE = "JavaScript" SRC="common.js"></SCRIPT>
</head>

<body>
<!--======================= メニュー ==============================-->
<%@ include file="/jsp/common/Menu2.inc" %>
<!--======================= メニュー end ==========================-->
<!-- 対処方針画面 -->
<br>
<html:link forward="/bug1/show" name="bug" property="mapping"><bean:message key="bug.trouble.displayname" /></html:link>
| <font size="4"><b><bean:message key="detail2.tile.displayname" /></b></font>
| <html:link forward="/bug3/show" name="bug" property="mapping"><bean:message key="bug.analyze.displayname" /></html:link>
| <html:link forward="/bug4/show" name="bug" property="mapping"><bean:message key="bug.update.displayname" /></html:link>
| <html:link forward="/bug5/show" name="bug" property="mapping"><bean:message key="bug.confirm.displayname" /></html:link>
| <html:link forward="/showAll" name="bug" property="mapping"><bean:message key="bug.all.displayname" /></html:link>
| <html:link forward="/bugAttachment/show" name="bug" property="mapping"><bean:message key="bug.attach.displayname" /></html:link>
| <html:link forward="/bugActivity" name="bug" property="mapping"><bean:message key="bug.history.displayname" /></html:link>
| <html:link forward="/bugDepndency" name="bug" property="mapping"><bean:message key="bug.depend.displayname" /></html:link>
| <html:link forward="/bugAssign" name="bug" property="mapping"><bean:message key="bug.assign.displayname" /></html:link>
<font color="red"><html:errors/></font>
<!--======================= BugHeader ==============================-->
<%@ include file="/jsp/common/BugHeader.inc" %>
<!--======================= BugHeader ==============================-->
<html:form action="/bugDetail2.do?action=submit">
  <table border="0" cellpadding="3" cellspacing="2">
    <!-- 対処方針 -->
    <tr align="center"> 
      <td colspan="4" class="labelHeader"><bean:message key="detail2.category1.displayname" /></td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="resolution.displayname" /></td>
      <td class="bak1"> 
        <html:select property="resolution">
           <html:options collection="resolutions" property="code" labelProperty="name"/>
           <%-- <html:options collection="resolutions" property="code" labelProperty="nameLabel"/>--%>
         </html:select>
      </td>
      <td class="label2"><bean:message key="scid.displayname" /></td>
      <td class="bak1"> 
        <html:text property="scid" size="14" maxlength="12" />
      </td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="milestone.displayname" /></td>
      <td class="bak1" colspan="3"> 
        <html:select property="milestone">
           <html:options collection="milestones" property="code" labelProperty="name"/>
         </html:select>
      </td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="priority.displayname" /></td>
      <td class="bak1" colspan="3"> 
        <html:select property="priority">
           <%--<html:options collection="prioritys" property="code" labelProperty="nameLabel"/>--%>
           <html:options collection="prioritys" property="code" labelProperty="name"/>
         </html:select>
      </td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="reletedDoc.displayname" /></td>
      <td  class="bak1" colspan="3"> 
        <html:text property="reletedDoc" size="80" maxlength="80" />
      </td>
    </tr>
  </table>
  <table border="0" cellpadding="3" cellspacing="2">
<%--
	<!-- 解析対象<br>コンポーネント -->
    <!-- コンポーネント管理はしないため廃止  --!>
    <tr> 
      <td class="label2" rowspan="2"><bean:message key="cpid.displayname" /></td>
      <td class="bak1" colspan="3">
         <html:select property="cpid1">
           <html:options collection="components" property="cpid" labelProperty="name"/>
         </html:select>
         →
         <html:select property="cpid2">
           <html:options collection="components" property="cpid" labelProperty="name"/>
         </html:select>
         →
         <html:select property="cpid3">
           <html:options collection="components" property="cpid" labelProperty="name"/>
         </html:select>
         →
      </td>
    </tr> 
    <tr> 
      <td class="bak1" colspan="2">
         <html:select property="cpid4">
           <html:options collection="components" property="cpid" labelProperty="name"/>
         </html:select>
         →
         <html:select property="cpid5">
           <html:options collection="components" property="cpid" labelProperty="name"/>
         </html:select>
      </td>
    </tr> 
--%>
	<!-- 対処方針事項／担当者連絡事項 -->
    <tr> 
      <td colspan="4" class="labelHeader"> <bean:message key="detail2.category2.displayname" /></td>
    </tr> 
    <tr> 
      <td colspan="4" class="bak1"> 
        <html:textarea property="addText" cols="80" rows="10" />
      </td>
    </tr> 
  </table>
	<!-- キーワード -->
  <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
      <td colspan="2" class="labelHeader"><bean:message key="detail2.category3.displayname" /></td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="keyword1.displayname" /></td>
      <td  class="bak1"> 
        <html:text property="keyword1" size="40" maxlength="40" />
      </td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="keyword2.displayname" /></td>
      <td  class="bak1"> 
        <html:text property="keyword2" size="40" maxlength="40" />
      </td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="keyword3.displayname" /></td>
      <td  class="bak1"> 
        <html:text property="keyword3" size="40" maxlength="40" />
      </td>
    </tr>
  </table>
  <p> 
  <!-- ステータスを<b>解析中</b>にして、にディスパッチする(investigation) -->
    <html:radio property="submitType" value="investigation" />
    <bean:message key="investigation.msg1.displayname" />
    <html:select property="requestAnalyst">
      <html:options collection="dispatchList" property="dispatchUno" labelProperty="user.nickname"/>
    </html:select>
    <bean:message key="investigation.msg2.displayname" /><br>
  <!-- ステータスを<b>確認中</b>にして発行者にディスパッチする(resolved) -->
    <html:radio property="submitType" value="resolved" />
    <bean:message key="resolved.msg.displayname" /><br>
  <!-- ステータスを<b>このまま</b>にして更新する(same) -->
    <html:radio property="submitType" value="same" />
    <bean:message key="same.msg.displayname" /><br>
  <!-- ステータスを<b>このまま</b>にして、ステータス状況をにする(statusWhitebord) -->
    <html:radio property="submitType" value="statusWhitebord" />
    <bean:message key="statusWhitebord.msg1.displayname" /><br>
    <html:text property="requestStatusWhitebord" size="80" maxlength="80" />
    <bean:message key="statusWhitebord.msg2.displayname" /><br>
  <!-- ステータスを<b>修正中</b>にして、にディスパッチする(repaired) -->
    <html:radio property="submitType" value="repaired" />
    <bean:message key="repaired.msg1.displayname" />
    <html:select property="requestUpdater">
      <html:options collection="dispatchList" property="dispatchUno" labelProperty="user.nickname"/>
    </html:select>
        <bean:message key="repaired.msg2.displayname" /><br>
  <!-- このまま完了する(close) -->
    <html:radio property="submitType" value="close" />
    <bean:message key="close.msg.displayname" /><br>
  <!-- ステータスを再開にする(reopen) -->
    <html:radio property="submitType" value="reopen" />
    <bean:message key="reopen.msg.displayname" /><br>
  <!-- ステータスを未確認にもどす(unconfirmed) -->
    <html:radio property="submitType" value="unconfirmed" />
    <bean:message key="detail2.unconfirmed.msg.displayname" /><br><br>
  <!-- この故障の解析を引き受ける(investigationOwn) -->
    <html:radio property="submitType" value="investigationOwn" />
    <bean:message key="investigationOwn.msg.displayname" /><br>
    <html:hidden name="bug" property="bno" /> 
	<!-- 投入-->
    <html:button property="dummy" onclick="doSubmit()"> 
    <bean:message key="enter.displayname" />
    </html:button>
	<!-- リセット-->
    <html:reset>
    <bean:message key="reset.displayname" />
    </html:reset>
    <!-- メールを送信しない -->
    <html:checkbox property="dontSendMail" />
    <bean:message key="dontSendMail.displayname" />
    <br>
  </html:form>
  <a name="content"></a>
  <table border="0" cellpadding="3" cellspacing="2">
    <logic:iterate id="text" name="bug" property="allAddText" type="AddText" >
      <tr> 
        <td class="bak1">
          【<bean:write name="text" property="textTypeString" />】<a href="mailto:<%= text.getEntryUmail() %>" ><bean:write name="text" property="entryUname" /></a>(<bean:write name="text" property="entryDateString" />)
        </td>
      </tr> 
      <tr> 
        <td>
          <blockquote><bean:write name="text" property="contentString" filter="false" /></blockquote>
        </td> 
      </tr> 
    </logic:iterate>
  </table>

<%-- 共通ページフッダ --%>
<%@ include file="/jsp/common/PageFooter.inc" %>
</body>
</html:html>
