<%-- $Id: loadTrapParsers.jsp,v 1.1.2.3.2.1 2004/10/28 06:16:05 sudharshan Exp $ --%>

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><fmt:message key='webclient.fault.trapparser.title'/></title>
</head>

<script language="Javascript" SRC="/webclient/admin/js/trapParserAdmin.js" type="text/javascript"></script>

<body>
<form action="/admin/TrapParserOperations.do" name="loadParser">
  <table width="80%" border="0" cellspacing="0" cellpadding="0">

    <input type="hidden" name="toPerform" value="">
          <tr> 
           <td width="10">&nbsp;</td>
            <td height="30" valign="bottom"><span class="header1"><fmt:message key='webclient.fault.trapparser.link.loadparsers'/></span></td>
          </tr>
          <tr> 
            <td height="1"><img src="/webclient/common/images/trans.gif" width="1" height="1"></td>
            <td height="1" class="hline"><img src="/webclient/common/images/trans.gif" width="1" height="1"></td>
          </tr>
          <tr> 
            <td align="center" class="text">&nbsp;</td>
          </tr>


          <tr> 
            <td>&nbsp;</td>
            <td valign="top"> <table width="100%" border="0" align="left" cellpadding="2" cellspacing="0" class="botBorder">
                <tr> 
                  <td height="30" colspan="3" class="text"> 
                   <input type="checkbox" name="overWriteParsers" value="yes" checked><fmt:message key='webclient.fault.trapparser.overwrite'/></td>
                </tr>
                <tr> 
                  <td height="25" colspan="3" class="header2Bg"><span class="header2"><fmt:message key='webclient.fault.trapparser.loadmib'/></span></td>
                </tr>
                <tr> 
                  <td width="26%" height="50" class="text">&nbsp;<fmt:message key='webclient.fault.trapparser.loadmib.mibname'/></td>
                      <td width="20%" align="left" class="text">

                      <select name="selectedMib">

                       <c:forEach var="list" items="${mibsList}">
                         <option><c:out value="${list}"/></option>
                       </c:forEach>
                      
                      </select>

                   </td>
                  <td width="54%" align="left" class="text">
                      <input name="LoadMib" type="submit" class="button" value="<fmt:message key='webclient.fault.trapparser.load'/>" onclick="javascript:loadMibs()"> 
                      <input name="Cancel" type="button" class="button" value="<fmt:message key='webclient.fault.event.customview.button.cancel'/>" onclick="javascript:history.back();"> 
                  </td>
                </tr>
              </table></td>
          </tr>

          <tr>
            <td>&nbsp;</td>
            <td valign="top"><table width="100%" border="0" align="left" cellpadding="2" cellspacing="0" class="botBorder">
                <tr> 
                  <td height="25" colspan="3" class="header2Bg"><span class="header2"><fmt:message key='webclient.fault.trapparser.loadfile'/></span></td>
                </tr>
                <tr> 
                  <td width="26%" height="50" class="text"> &nbsp;<fmt:message key='webclient.fault.trapparser.loadmib.filename'/></td>
                  <td width="20%" align="left" class="text">
                      <input name="parserFileName" type="text" class="formStyle" value="conf/trap.parsers">
                  </td>
                  <td width="54%" align="left" class="text"><input name="LoadParsers" type="submit" class="button" value="<fmt:message key='webclient.fault.trapparser.load'/>" onclick="javascript:loadParsers()"> 
                    <input name="Submit222" type="button" class="button" value="<fmt:message key='webclient.fault.event.customview.button.cancel'/>" onclick="javascript:history.back();"> 
                  </td>
                </tr>
              </table></td>
          </tr>
</table>
</form>
</boby>
</html>
