<%-- $Id: alarmDetails.jsp,v 1.27.2.3.2.3 2004/11/07 12:04:48 gnanasekar Exp $ --%>
<%@page contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<title><fmt:message key='webclient.fault.alarmdetails.pagetitle'/></title>

<script language="javascript" src="/webclient/fault/js/fault.js" type="text/javascript" >
</script>
<script language="Javascript" SRC="/webclient/common/js/listview.js" type="text/javascript">
</script>
  <table width="100%" border="0" cellspacing="0" cellpadding="3">
    <tr> 
    <td valign="top" align="center">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="10" colspan="3">
              <img src="/webclient/common/images/trans.gif" alt="" width="1" height="1">
            </td>
          </tr>
          <tr> 
            <td width="1">
               <img src="/webclient/common/images/trans.gif" alt="" width="1" height="1">
            </td>
            <td>
                <%@include file="/webclient/fault/jspf/alarmDetailsHeader.jspf" %>
            </td>
          </tr>
        </table>
      </td>
    </tr>         

<%-- This part is render the icons in the tab --%>

    <tr> 
      <td>
         <table width="100%" border="0" class="lightTableBorder" cellspacing="0" cellpadding="0" align="center">
           <tr> 
             <td width="130" valign="top">
                  <%@include file="/webclient/fault/jspf/alarmTabs.jspf" %>
             </td>

 <%--End Part --%>

             <td width="1" valign="top" class="seperator">
                <img src="/webclient/common/images/trans.gif" width="2" height="1">
             </td>

             <c:if test="${showTabOne == 'true'}">
             <td valign="top" width="100%">
                <c:import url="/fault/AlarmDetails.do?method=alertProperties&entity=<%=request.getAttribute('entity').toString()%>" charEncoding="UTF-8"/>
             </c:if>

             <c:if test="${showTabTwo == 'true'}"> 
             <td valign="top" width="100%">
             <c:choose>
                <c:when test="${showMerge == 'false'}">
                   <c:import url="/fault/AlarmDetails.do?method=viewAnnotationAndHistory&entity=<%=request.getAttribute('entity').toString()%>" charEncoding="UTF-8"/>
                </c:when>   
                <c:otherwise>
                   <c:import url="/fault/AlarmDetails.do?method=viewMergedAnnotationAndHistory&entity=<%=request.getAttribute('entity').toString() %>" charEncoding="UTF-8"/>
                </c:otherwise>
             </c:choose>
             </td>
             </c:if>

             <c:if test="${showTabThree == 'true'}">
             <td valign="top" width="100%">
              <c:import url="/fault/AlarmDetails.do?method=otherFailures&entity=<%=request.getAttribute('entity').toString() %>&groupName=<%= request.getAttribute('groupName').toString() %>" charEncoding="UTF-8"/>
             </c:if>
             </td>
           </tr>
         </table>
      </td>
    </tr>
  </table>
