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

<html:html locale="true">
<head>
<!-- 依存関係 -->
<title><bean:message key="depndency.title.displayname" /></title>
<html:base/>
<LINK rel="stylesheet" href="style.css">
</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>
| <html:link forward="/bug2/show" name="bug" property="mapping"><bean:message key="bug.judge.displayname" /></html:link>
| <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>
| <font size="4"><b><bean:message key="bug.depend.displayname" /></b></font>
| <html:link forward="/bugAssign" name="bug" property="mapping"><bean:message key="bug.assign.displayname" /></html:link>
<!--======================= BugHeader ==============================-->
<%@ include file="/jsp/common/BugHeader.inc" %>
<!--======================= BugHeader ==============================-->
<br>
<!-- 表示 -->
<h2><bean:write name="bug" property="bnoString" /><bean:message key="depndency.parent.bug.displayname" /></h2>
    <bean:write name="tree" property="dispParentTree" filter="false"/>

<h2><bean:write name="bug" property="bnoString" /><bean:message key="depndency.child.bug.displayname" /></h2>
    <bean:write name="tree" property="dispChildTree" filter="false"/>

<!-- 入力 -->
<html:form action="bugDependency.do?action=update" enctype="multipart/form-data">
  <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
      <td class="labelHeader" colspan="5"><bean:message key="depndency.category.displayname" /></td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="depndency.parent.displayname" /></td>
      <td nowrap class="bak1"> 
        <html:text property="parentBugs" size="80" maxlength="80" />
      </td>
    </tr>
    <tr>
      <td class="label2"><bean:message key="depndency.child.displayname" /></td>
      <td nowrap class="bak1"> 
        <html:text property="childBugs" size="80" maxlength="80" />
      </td>
    </tr>
  </table>
    <html:hidden name="bug" property="bno" />
    <html:hidden property="action" value="update" />
  <!-- 投入-->
    <html:submit property="submit">
    <bean:message key="enter.displayname" />
    </html:submit>
  <!-- リセット-->
    <html:reset>
    <bean:message key="reset.displayname" />
    </html:reset>
  <font color="red"><html:errors/></font>
  <font color="blue"><bean:write name="bugDependencyForm" property="message" /></font>
</html:form>

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