<%--
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.
 Title     : ServerConductor WebConsole
 Version   : 08-00
 Name      : alertLog.jsp
 Date      : 2006/04/10
 Author    : Bavani C T
 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page session = "false" %>
<%@ page language = "java" %>
<%@ page errorPage = "errorDialog.jsp" %>                                       <% //800WA_WEBCONSOLE182 %>
<%@ page import = 
	"JP.co.Hitachi.soft.System_Manager.webconsole.common.MessageConstant" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.webconsole.common.Const"%>	
<% response.addHeader("Cache-Control","no-cache"); %>                           <% //800WA_WEBCONSOLE182 %>
<%@ taglib prefix = "html"   uri = "/WEB-INF/struts-html.tld" %>
<%@ taglib prefix = "bean"  uri = "/WEB-INF/struts-bean.tld" %>
<%@ taglib prefix = "table"  uri = "/WEB-INF/table.tld" %>
<%@ taglib prefix = "util"     uri = "/WEB-INF/common-tags.tld" %>
<%@ taglib prefix = "logic" uri = "/WEB-INF/struts-logic.tld"%>                 <% //800WA_WEBCONSOLE372 %>
<%@ page contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %> 
<util:checkURL/> 

<html:html locale = "true">

<%-- Get data from the InternalProperties file and set it into the 
pageContext implicit object as an attribute" --%>
<util:set name = "ProductName">
   	<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	key = "internal.common.product.name"/>
</util:set>
<head>
  <title>
 <util:set name = "hostName">
 	<%= request.getParameter("hostName") %>
 </util:set>    
  <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
  key = "alertlog.header.window.title" 
  arg0 = '<%= pageContext.getAttribute("hostName").toString()%>'
  arg1 = '<%=request.getServerName()%>'
  arg2 = '<%=pageContext.getAttribute("ProductName").toString()%>'/>
     </title>
  <script src = "js/common.js"></script>
  <script src = "js/alert.js"></script>
  <script src = "js/header.js"></script>                                        <% //800WA_WEBCONSOLE100 %>

  <link rel = "stylesheet" type = "text/css" href = "css/alert.css">
    <link rel = "stylesheet" type = "text/css" href = "css/common.css">         <% //800WA_WEBCONSOLE086  %>
 
</head>
<%--<body onload="document.forms[0].fromYear.focus();">  --%>                   <% // 800WA_WEBCONSOLE113 %> <% // 800WA_WEBCONSOLE404 %>
<body onload="document.forms[0].fromYear.focus();" onresize="resetHeader('AlertLogDelete')"> <% // 800WA_WEBCONSOLE404 %>
<util:set name = "validateNotificationAlertForm">
		return validateNotificationAlertForm(this,'<util:rewrite action = "alertLogPageAcquisition"/>');
</util:set>
<jsp:useBean id = "AlertLogBean" scope = "request" 
	class = "JP.co.Hitachi.soft.System_Manager.webconsole.model.bean.AlertLogAcquisitionBean"/> 
    
<html:form action = "alertLogDataAcquisitionAction" 
   onsubmit = '<%=pageContext.getAttribute("validateNotificationAlertForm")
                                                            .toString()%>'>
<html:hidden property="startDate"/>                                             <% // 800WA_WEBCONSOLE010 %>               
<html:hidden property="endDate"/>                                               <% // 800WA_WEBCONSOLE010 %>
<html:hidden property="nodeID"  value='<%=request.getAttribute("nodeID").toString()%>'/>
<html:hidden property="hostName" value='<%=request.getAttribute("hostName").toString()%>'/>
<input type = "hidden" name = "actionType" >
<input type = "hidden" name = "displayName" value = '<%=request.getParameter("displayName")%>' >
<input type = "hidden" name = "isPagination" value="false">             
<%--<table border = "0" cellpadding = "0" width = "100%"> --%>                  <% // 800WA_WEBCONSOLE404 %>
<%--<tr>--%>                                                                    <% // 800WA_WEBCONSOLE404 %>
<%--  <td>--%>                                                                  <% // 800WA_WEBCONSOLE404 %>
<%--    <table width = "100%">--%>                                              <% // 800WA_WEBCONSOLE404 %>
<%--       <tr>--%>                                                             <% // 800WA_WEBCONSOLE404 %>
              <%--Get data from the InternalProperties file and set it 
               into the pageContext implicit object as an attribute --%>
<div id = "logo" style="width:100%">                                            <% // 800WA_WEBCONSOLE404 %>
                <util:set name = "ProductLogoDisplayFlag">
                 <bean:message bundle = 
                 		"<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>"
                     	key = "internal.product.logo.display.flag"/>
               </util:set>
               
               <%-- <%
                   if((pageContext.getAttribute("ProductLogoDisplayFlag"))
                  			.equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON))
                   {
               %> --%>                                                          <%-- 800WA_WEBCONSOLE496 --%>
                  <util:set name = "ImageProductName">
                    <%--<%= Const.PATH_IMAGES %><%=Const.IMAGE_PRODUCT_NAME %>--%><% // 800WA_WEBCONSOLE414 %>
                    <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>" 
                	  key = "internal.product.logo.image.path"/>
                  </util:set>                                                   <% // 800WA_WEBCONSOLE414 %>
				  
                 <util:set name = "AltProductLogo">                             <%-- 800WA_WEBCONSOLE470 --%>
             	   <bean:message key = "alt.product.logo"
             	    bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALT%>" />         <%-- 800WA_WEBCONSOLE470 --%>
                 </util:set>                                                    <%-- 800WA_WEBCONSOLE470 --%>
				
				<%--  <td>  --%>                                                <% // 800WA_WEBCONSOLE404 %>
                <%-- <html:img  src = '<%=pageContext --%>                      <% // 800WA_WEBCONSOLE404 %>
                <%-- <html:img styleId = "product_logo"  src = '<%=pageContext
               .getAttribute("ImageProductName").toString()%>' border = "0"/>--%<% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE470 --%>
               <%
                   if((pageContext.getAttribute("ProductLogoDisplayFlag"))
                  			.equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON))
                   {
               %>                                                               <%-- 800WA_WEBCONSOLE496 --%>
                <html:img styleId = "product_logo"  border = "0"
                 src = "<%=pageContext.getAttribute("ImageProductName")
                                                                 .toString()%>"
                 alt = "<%=pageContext.getAttribute("AltProductLogo")
                                                                .toString()%>"/><%-- 800WA_WEBCONSOLE470 --%>
                
                <%--  </td>  --%>                                              <% // 800WA_WEBCONSOLE404 %>
              <%}
      		else{ %>
      				  <%-- <td> &nbsp</td>     --%>                             <% // 800WA_WEBCONSOLE404 %>
      				  <%-- <div id = "product_logo">&nbsp;</div> --%>           <% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE496 --%>
      			<html:img styleId = "product_logo"  border = "0"
      			 style="visibility:hidden"
                 src = "<%=pageContext.getAttribute("ImageProductName")
                                                                 .toString()%>"
                 alt = "<%=pageContext.getAttribute("AltProductLogo")
                                                                .toString()%>"/><%-- 800WA_WEBCONSOLE496 --%>
      		<%}%>
      		<%-- Get data from the InternalProperties file and set it 
               into the pageContext implicit object as an attribute" --%>
               
      				<util:set name = "CorporateLogoDisplayFlag">                <% // 800WA_WEBCONSOLE065 %>
                 <bean:message bundle = 
                 		"<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>"
                     	key = "internal.corporate.logo.display.flag"/>          <% // 800WA_WEBCONSOLE065 %>
               </util:set>                                                      <% // 800WA_WEBCONSOLE065 %>
               
               <%-- <%
                   if(((String)pageContext.getAttribute("CorporateLogoDisplayFlag"))  // 800WA_WEBCONSOLE065 
                  			.equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON))
                   {
               %> --%>                                                          <%-- 800WA_WEBCONSOLE496 --%>
               
            <%--  <td rowspan = "2" align = "right"> --%>                       <% // 800WA_WEBCONSOLE404 %>
           <util:set name = "imgSrc">
             <%--<%= Const.PATH_IMAGES %><%= Const.IMAGE_COMPANY_LOGO %>--%>    <% // 800WA_WEBCONSOLE414 %>
          	  <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL %>"
         	  key = "internal.corporate.logo.image.path"/>                     
           </util:set>                                                          <% // 800WA_WEBCONSOLE414 %>
            <util:set name = "imgAlt">
             	<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALT%>" 
                                              key = "alt.company.logo"/>        <% // 800WA_WEBCONSOLE065 %>
           </util:set>
           <%--
             <html:img src = "<%= pageContext.getAttribute("imgSrc")
            	 .toString() %>" 
            	 alt = "<%= pageContext.getAttribute("imgAlt").toString()%>"
                    border = "0" styleClass = "leftTurn"/>    --%>              <%-- <!-- 800WA_WEBCONSOLE065--> --%><% //800WA_WEBCONSOLE300 %> <% // 800WA_WEBCONSOLE404 %>
               <%
                   if(((String)pageContext.getAttribute("CorporateLogoDisplayFlag"))
                  			.equals(Const.ATTRIBUTE_DISPLAY_FLAG_ON))
                   {
               %>                                                               <%-- 800WA_WEBCONSOLE496 --%>
               <html:img src = "<%= pageContext.getAttribute("imgSrc")
            	 .toString() %>"  styleId = "company_logo"
            	 alt = "<%= pageContext.getAttribute("imgAlt").toString()%>"
                    border = "0" styleClass = "leftTurn"/>                      <% // 800WA_WEBCONSOLE404 %>
            	  <%}
      		else{                                                                                                                        
					%>                                                          <% // 800WA_WEBCONSOLE065 %>                                                       
      		  <%-- <td> &nbsp; </td>  --%>                                      <% // 800WA_WEBCONSOLE065 %> <% // 800WA_WEBCONSOLE404 %>
      		  <%-- <div id="company_logo">&nbsp;</div> --%>                     <% // 800WA_WEBCONSOLE404 %><%-- 800WA_WEBCONSOLE496 --%>
      		  <html:img style="visibility:hidden" 
      		     src = "<%= pageContext.getAttribute("imgSrc")
            	 .toString() %>"  styleId = "company_logo"
            	 alt = "<%= pageContext.getAttribute("imgAlt").toString()%>"
                    border = "0" styleClass = "leftTurn"/>                      <%-- 800WA_WEBCONSOLE496 --%>
      		<%}%>     
</div>                                                                          <% // 800WA_WEBCONSOLE404 %>
      <%--   </td>                                                              <% // 800WA_WEBCONSOLE404 %>
       </tr>                                                                    <% // 800WA_WEBCONSOLE404 %>
       <tr>                                                                     <% // 800WA_WEBCONSOLE404 %>
         <td class = "large">    --%>                                           <% // 800WA_WEBCONSOLE404 %>
<div class="page_title">                                                        <% // 800WA_WEBCONSOLE404 %>
         <bean:message bundle = 
         	"<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>"  
         	key = "alertlog.header.window.name" 
			arg0 = '<%= pageContext.getAttribute("hostName").toString()%>'/>
			</div>                                                              <% // 800WA_WEBCONSOLE404 %>
<%--         </td>                                                              <% // 800WA_WEBCONSOLE404 %>
       </tr>                                                                    <% // 800WA_WEBCONSOLE404 %>
       <tr>                                                                     <% // 800WA_WEBCONSOLE404 %>
        <td colspan = "2" align = "right">--%>                                  <% // 800WA_WEBCONSOLE404 %>
   <%-- Create JavaScript to open help --%>
                <util:set name = "FnOpenHelp">
                          openHelp(
                        '<util:rewrite action = "help"/>',
                        '<bean:message 
                          bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
                          key = "internal.alert.log.header.help.url"/>',
                        '<%= Const.ATTRIBUTE_REQUEST_HELP_CONTENTS%>','<%= request.getSession().getId() %>help');                                                                        <% // 800WA_WEBCONSOLE158 %>
                   </util:set>
                <table  id="menu"  class="close_button"><tr><td align="right">  <% // 800WA_WEBCONSOLE404 %>
                <html:link href = "#" styleClass = "small"
                 onclick = "<%= pageContext.getAttribute("FnOpenHelp")
                                                                 .toString()%>">
                          <bean:message
                         bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
                         key = "alert.header.help"/>
                   </html:link>
        
        
				 <html:button property = "button" styleClass = "small"           
            	onclick = "parent.close()">                                     <%// 800WA_WEBCONSOLE086 %>
                <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
                	key = "alert.header.close.button"/> 
            </html:button>
         </td>
       </tr>
    </table>
<%--  </td>                                                                     <% // 800WA_WEBCONSOLE404 %>
</tr> --%>                                                                      <% // 800WA_WEBCONSOLE404 %>
<hr id = "menu-hr" class="menu-hr" style="top:87px;"/>                          <% // 800WA_WEBCONSOLE404 %>
<br><br><br>                                                                    <% // 800WA_WEBCONSOLE404 %>

<table  border = "0" cellpadding = "0" width = "100" 
    onresize="resetHeader('AlertLogDelete')">                                   <% // 800WA_WEBCONSOLE404 %>
<tr>
<td class = "line">
  <%-- <table border = "0" width = "100%" cellspacing = "0" cellpadding = "2"> --%> <% // 800WA_WEBCONSOLE404 %>
  <table id="menuTable" border = "0" width = "100%" cellspacing = "0" 
     cellpadding = "2">                                                         <% // 800WA_WEBCONSOLE404 %>
  <tr>
 <%-- <td>
    <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
  	key = "alert.common.year.title"/>                                           
   </td> --%>                                                                   <% // 800WA_WEBCONSOLE087 %>

   <td class = "small" >                                                        <% // 800WA_WEBCONSOLE140  %> <% // 800WA_WEBCONSOLE262  %>
    <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
  	key = "alert.header.search.date"/>                                          <% // 800WA_WEBCONSOLE140  %>                                           
   </td>                                                                        <% // 800WA_WEBCONSOLE140  %>

  <td  styleClass = "small " colspan = "5" align = "center"><bean:write name="alertLogInfoForm" 
    property="startDate"/></td>                                                 <% // 800WA_WEBCONSOLE010 %> <%// 800WA_WEBCONSOLE086 %>
  <td>-</td>
  <td styleClass = "small " colspan = "5" align = "center"><bean:write name="alertLogInfoForm" 
    property="endDate"/></td>                                                 <% // 800WA_WEBCONSOLE010 %> <%// 800WA_WEBCONSOLE086 %> <% // 800WA_WEBCONSOLE093 %>
    </tr>
    <tr align = "center">
      <td>&nbsp;</td>                                                           
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
      <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.year.title"/>
      </td>
      <td>&nbsp;</td>                            
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
      <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.month.title"/>
       </td>
      <td>&nbsp;</td>
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.day.title"/>
      </td>
      <td>&nbsp;</td>
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.year.title"/>
       </td>
      <td>&nbsp;</td>
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.month.title"/>
      </td>
      <td>&nbsp;</td>
      <%-- <td styleClass = "item">  --%>                                       <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
      <td class = "item">                                                       <% //800WA_WEBCONSOLE262 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.day.title"/>
       </td>
      <%-- <td  styleClass="small " rowspan = "6" width = "50%" valign = "bottom" align = "left"> --%> <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE262 %>
     <%--  <td  class="small " rowspan = "6" width = "50%" valign = "bottom" align = "left">  <% //800WA_WEBCONSOLE262 %>
        <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
        	key = "alert.header.timeout.info"/>
   </td> --%>                                                                   <% // 800WA_WEBCONSOLE365 %>
    <td rowspan = "3"> &nbsp; </td>                                             <% // 800WA_WEBCONSOLE365 %> 
    </tr>
    <tr>
      <td nowrap  class = "middle">                                             <% // 800WA_WEBCONSOLE086 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.date"/>
       </td>
      <td>
        <html:select property = "fromYear">
          <html:options collection = "fromYearList" property = "value" 
          	labelProperty = "label"/>
        </html:select>
      </td>
      <td>/</td>
      <td align = "center">
        <html:select property = "fromMonth">
           <html:options collection = "fromMonthList" property = "value" 
           	labelProperty = "label"/>
         </html:select>
      </td>
      <td>/</td>
      <td>
        <html:select property = "fromDay">
           <html:options collection = "fromDayList" property = "value" 
           		labelProperty = "label"/>
        </html:select>
      </td>
      <td>-</td>
      <td>
        <html:select property = "toYear">
          <html:options collection = "toYearList" property = "value" 
          	labelProperty = "label"/>
        </html:select>
      </td>
      <td>/</td>
      <td align = "center">
        <html:select property = "toMonth">
                <html:options collection = "toMonthList" property = "value" 
                	labelProperty = "label"/>
        </html:select>
      </td>
      <td>/</td>
      <td>
        <html:select property = "toDay">
                <html:options collection = "toDayList" property = "value" 
                	labelProperty = "label"/>
        </html:select>
      </td>
    </tr>
     <tr>
      <td class = "middle"><bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>"   
      	key = "alert.common.level"/></td>                                       <%// 800WA_WEBCONSOLE086 %>
      <td colspan = "11">
        <html:select property = "alertLevel">
                <html:options collection = "alertLevelList" property = "value" 
                	labelProperty = "label"/>
        </html:select>
      </td>
    </tr>
    <tr>
      <td class = "middle">                                                     <% // 800WA_WEBCONSOLE086 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.contents"/>
       </td>
      <td colspan = "11"><html:text size = "60" maxlength = "150" property = "alertContent"/></td> <% // 800WA_WEBCONSOLE086 %>
       <%--<td  class="small " rowspan = "3" width = "50%" valign = "top" align = "left"> --%> <% //800WA_WEBCONSOLE365 %> <% //800WA_WEBCONSOLE404 %>
       <td  class="small " rowspan = "2" width = "50%" valign = "top" align = "left">  <% //800WA_WEBCONSOLE404 %>
        <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>"        
        	key = "alert.header.timeout.info"/>                                 <% //800WA_WEBCONSOLE365 %>
      </td>                                                                     <% //800WA_WEBCONSOLE365 %>
    </tr>
    <tr>
      <td class = "middle">                                                     <% // 800WA_WEBCONSOLE086 %>
       <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
      	key = "alert.common.id"/>
       </td>
      <td colspan = "11">
      <%--<html:text size ="10" maxlength ="6" property = "alertID"/>           <% // 800WA_WEBCONSOLE086  %> <% // 800WA_WEBCONSOLE368  %>--%>
      <html:text size ="10" maxlength ="6" property = "alertID" 
      onblur="removeSelection(this)"/>                                          <% // 800WA_WEBCONSOLE368  %>
      </td>
    </tr>
    <tr>
    <td  class ="middle" colspan="11">                                          <% // 800WA_WEBCONSOLE086 %>
       <%-- <%= request.getParameter("displayName")%> - > <%= pageContext.getAttribute("hostName").toString()%> --%> <% // 800WA_WEBCONSOLE365 %>
       <%-- Get the value of climb trail --%> 				
	   <jsp:getProperty name = "AlertLogBean" 
    	property = "climbTrail"/>                                               <% // 800WA_WEBCONSOLE365 %>
    </td>
   <%--  </tr>                                                                  <% // 800WA_WEBCONSOLE365 %>
     <tr> --%>                                                                  <% // 800WA_WEBCONSOLE365 %>
    <util:set name = "NotificationAlertDataAcquisition">
     		<%-- javascript:m_pageFlag = true; submitForm('<util:rewrite action = "alertLogDataAcquisitionAction"/>'); --%> <% // 800WA_WEBCONSOLE170 %>	
     		javascript:document.forms[0].action ='<util:rewrite action = "alertLogDataAcquisitionAction"/>';	<% // 800WA_WEBCONSOLE170 %>
     </util:set> 
     <util:set name = "Search">                                                 <% //800WA_WEBCONSOLE303 %>
	<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ALERT%>" 
		key = "alert.header.search.button"/>                                    <% //800WA_WEBCONSOLE303 %>
    </util:set>                                                                 <% //800WA_WEBCONSOLE303 %>
   <td colspan = "13" align = "right"><html:submit value = '<%=pageContext.getAttribute("Search").toString()%>' onclick = '<%= pageContext.getAttribute("NotificationAlertDataAcquisition").toString() %>' styleClass="small"/></td> <% // 800WA_WEBCONSOLE086 %> <% //800WA_WEBCONSOLE303 %>
    </tr>
</table>
 </td>
</tr>
<logic:present scope = "request" 
 name = "<%= Const.ATTRIBUTE_REQUEST_ERROR_BEAN%>">                             <% //800WA_WEBCONSOLE372  %>
  <script>                                                                      <% //800WA_WEBCONSOLE372  %>
  	var l_globalFlag = false;
  </script>                                                                     <% //800WA_WEBCONSOLE372  %>
  <jsp:include page="errorDialog.jsp" flush="false" />                          <% //800WA_WEBCONSOLE372  %>
  <%--<input type = "hidden" name = "currentSortedColumnHeader">                <% //800WA_WEBCONSOLE352  %> <% //800WA_WEBCONSOLE388  %>
  <input type = "hidden" name = "currentSortedColumn">                          <% //800WA_WEBCONSOLE352  %> <% //800WA_WEBCONSOLE388  %>
  <input type = "hidden" name = "order">                                        <% //800WA_WEBCONSOLE352  %> <% //800WA_WEBCONSOLE388  %> --%>
</logic:present>                                                                <% //800WA_WEBCONSOLE372  %>
    
<logic:notPresent scope = "request"
 name = "<%= Const.ATTRIBUTE_REQUEST_ERROR_BEAN%>">                             <% //800WA_WEBCONSOLE372  %>  
<tr><td>&nbsp;</td></tr>
<tr>
 <td class ="large">                                                            <% // 800WA_WEBCONSOLE086 %>
<%
if(	AlertLogBean.getAlertHeader()!=null ) 
{
%>
<util:set name = "alertLevelOrder">
<%=Const.ALERT_LEVEL_TEXT_INFORMATION %>,<%=Const.ALERT_LEVEL_TEXT_CAUTION %>,<%=Const.ALERT_LEVEL_TEXT_WARNING %>,<%=Const.ALERT_LEVEL_TEXT_FAILURE %> </util:set><% // 800WA_WEBCONSOLE215 %>
<util:set name = "AlertLevel">
 <%=((java.util.ArrayList)AlertLogBean.getAlertHeader()).get(0)%>
</util:set>
<util:set name = "OccuranceDate">
 <%=((java.util.ArrayList)AlertLogBean.getAlertHeader()).get(1)%>
</util:set>
<util:set name = "GenerationHost">
 <%=((java.util.ArrayList )AlertLogBean.getAlertHeader()).get(2)%>
</util:set>
<util:set name = "AlertID">
 <%=((java.util.ArrayList)AlertLogBean.getAlertHeader()).get(3)%>
</util:set>
<util:set name = "Content">
 <%=((java.util.ArrayList)AlertLogBean.getAlertHeader()).get(4)%>
</util:set>
<util:set name = "GenerationPart">
 <%=((java.util.ArrayList)AlertLogBean.getAlertHeader()).get(5)%>
</util:set>
<util:set name = "AlertLogPageAcquisition">
  	<util:rewrite action = "alertLogPageAcquisition"/>
  </util:set>
  <%--<table:table scope = "requestscope" headerData = "alertHeader"            <% //800WA_WEBCONSOLE352 %>
  	detailData = "alertData" name = "AlertLogBean"                              <% //800WA_WEBCONSOLE352 %>
  	border = "1" cellpadding = "2" cellspacing = "0"                            <% //800WA_WEBCONSOLE352 %>
  	requestURI = "<%= pageContext.getAttribute("AlertLogPageAcquisition").toString() %>" <% //800WA_WEBCONSOLE352 %>
  	pageSize = "<%=AlertLogBean.getAlertsPerPage()%>" styleClass="displayData" defaultSortBy ='<%=pageContext.getAttribute("OccuranceDate").toString()%>'> <% //800WA_WEBCONSOLE199 %> <% //800WA_WEBCONSOLE334 %> <% //800WA_WEBCONSOLE352 %> --%>
  	
  <table:table scope = "requestscope" headerData = "alertHeader" 
  	detailData = "alertData" name = "AlertLogBean"  
  	border = "1" cellpadding = "2" cellspacing = "0"  
  	requestURI = "<%= pageContext.getAttribute("AlertLogPageAcquisition").toString() %>" 
  	firstPage = "alert.detail.first.page" previousPage="alert.detail.previous"
  	nextPage="alert.detail.next" lastPage="alert.detail.last.page"
  	goButton="alert.detail.move" bundle="<%=Const.MESSAGE_RESOURCES_FILE_ALERT%>"
  	pageSize = "<%=AlertLogBean.getAlertsPerPage()%>" styleClass="displayData" > <% //800WA_WEBCONSOLE352 %> <% //800WA_WEBCONSOLE426 %>
  	
    <table:column property = '<%=pageContext.getAttribute("OccuranceDate")
    	.toString()%>' sort = "true" />
    <table:column property = '<%=pageContext.getAttribute("GenerationHost")
    	.toString()%>' sort = "true" />
    <table:column property = '<%= pageContext.getAttribute("AlertLevel")
    	.toString()%>' customsort = "alertLevelSort()" 
    	order = '<%=pageContext.getAttribute("alertLevelOrder").toString()%>'/>
    <%--                                                                        // 800WA_WEBCONSOLE212
    <table:column property = '<%= pageContext.getAttribute("Content")           // 800WA_WEBCONSOLE212
    	.toString()%>' sort = "true"/>                                          // 800WA_WEBCONSOLE212
    --%>                                     
    <table:column property = '<%= pageContext.getAttribute("Content")
    	.toString()%>' sort = "true" sanitize = "true" />                       <%-- //800WA_WEBCONSOLE212  --%>
    <table:column property = '<%=pageContext.getAttribute("AlertID")
    	.toString()%>' sort = "true" />
    <table:column property = '<%=pageContext.getAttribute("GenerationPart")
    	.toString()%>' sort = "true"/>
  </table:table>
  <% } %>
   </td>
</tr>
</table>
</logic:notPresent>                                                             <% //800WA_WEBCONSOLE372  %>
</html:form>
</body>
<util:set name = "errorArray">
var MSG_ALERT_DATE_NOT_INPUT = "<%=MessageConstant.MSG_ALERT_DATE_NOT_INPUT %>";
var MSG_ALERT_DATE_ERROR = "<%=MessageConstant.MSG_ALERT_DATE_ERROR %>";
var MSG_ALERT_DATE_NOT_EXIST = "<%=MessageConstant.MSG_ALERT_DATE_NOT_EXIST %>";
var MSG_COMMON_RANGE_CHARACTER_CHECK = 
	"<%=MessageConstant.MSG_COMMON_RANGE_CHARACTER_CHECK %>";
var MSG_COMMON_FORMAT_CHECK = "<%=MessageConstant.MSG_COMMON_FORMAT_CHECK %>";
var MSG_PAGE_CHECK = "<%=MessageConstant.MSG_PAGE_CHECK %>";
var MSG_COMMON_POSITIVE_INTEGER_CHECK = 
	"<%=MessageConstant.MSG_COMMON_POSITIVE_INTEGER_CHECK %>";
var MSG_COMMON_RANGE_CHECK = "<%=MessageConstant.MSG_COMMON_RANGE_CHECK %>";
var MSG_ALERT_CHECK_ANNULMENT = 
	"<%=MessageConstant.MSG_ALERT_CHECK_ANNULMENT %>";

<%-- errorMsg[MSG_ALERT_DATE_NOT_INPUT] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_NOT_INPUT %>"/> '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_DATE_ERROR] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_ERROR %>"/>     '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_DATE_NOT_EXIST] = '  <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_NOT_EXIST %>"/> '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_RANGE_CHARACTER_CHECK] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_RANGE_CHARACTER_CHECK %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_FORMAT_CHECK] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_FORMAT_CHECK %>"/>     '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_PAGE_CHECK]  = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_PAGE_CHECK %>"/>  '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_POSITIVE_INTEGER_CHECK] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_POSITIVE_INTEGER_CHECK %>" arg0 = "{0}"/>   '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_RANGE_CHECK] = '  <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_RANGE_CHECK %>" arg0 = "{0}" arg1 = "{1}" arg2 = "{2}"/>  '; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_CHECK_ANNULMENT] = ' <bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_CHECK_ANNULMENT %>"/> '; --%> <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_DATE_NOT_INPUT] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_NOT_INPUT %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_DATE_ERROR] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_ERROR %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_DATE_NOT_EXIST] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_DATE_NOT_EXIST %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_RANGE_CHARACTER_CHECK] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_RANGE_CHARACTER_CHECK %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_FORMAT_CHECK] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_FORMAT_CHECK %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_PAGE_CHECK]  = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_PAGE_CHECK %>"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_POSITIVE_INTEGER_CHECK] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_POSITIVE_INTEGER_CHECK %>" arg0 = "{0}"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_COMMON_RANGE_CHECK] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_COMMON_RANGE_CHECK %>" arg0 = "{0}" arg1 = "{1}" arg2 = "{2}"/>'; <% // 800WA_WEBCONSOLE441 %>
errorMsg[MSG_ALERT_CHECK_ANNULMENT] = '<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_ERRMESSAGE%>" key = "<%=MessageConstant.MSG_ALERT_CHECK_ANNULMENT %>"/>'; <% // 800WA_WEBCONSOLE441 %>

 </util:set>
<script>
<%= pageContext.getAttribute("errorArray").toString()%>
resetHeader('AlertLogDelete');                                                  <% // 800WA_WEBCONSOLE404 %>
</script>
</html:html>

