<%@ 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>依存関連</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">故障</html:link>
| <html:link forward="/bug2/show" name="bug" property="mapping">方針</html:link>
| <html:link forward="/bug3/show" name="bug" property="mapping">解析</html:link>
| <html:link forward="/bug4/show" name="bug" property="mapping">処置</html:link>
| <html:link forward="/bug4/show" name="bug" property="mapping">確認</html:link>
| <html:link forward="/showAll" name="bug" property="mapping">全部</html:link>
| <html:link forward="/bugAttachment/show" name="bug" property="mapping">添付</html:link>
| <html:link forward="/bugActivity" name="bug" property="mapping">履歴</html:link>
| <font size="4"><b>関連</b></font>
| <html:link forward="/bugAssign" name="bug" property="mapping">担当</html:link>
<!--======================= BugHeader ==============================-->
<%@ include file="/jsp/common/BugHeader.inc" %>
<!--======================= BugHeader ==============================-->
<br>
<h2><bean:write name="bug" property="bnoString" />の依存するバグ</h2>
    <bean:write name="tree" property="dispParentTree" filter="false"/>

<h2><bean:write name="bug" property="bnoString" />に依存するバグ</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">関連故障</td>
    </tr>
    <tr>
      <td class="label2">親故障：</td>
      <td nowrap class="bak1"> 
        <html:text property="parentBugs" size="80" maxlength="80" />
      </td>
    </tr>
    <tr>
      <td class="label2">子故障：</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 value="投入" property="submit" />
    <html:reset value="リセット" />&nbsp;
  <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>
