<%-- $Id: deviceTabDetails.jsp,v 1.10.2.1 2004/05/11 17:33:41 asivakumar Exp $ --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el" prefix="html-el" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>

   <tr>
     <td height="20"><table width="600" border="0" cellpadding="2" cellspacing="0" class="botBorder">
      <tr>
        <td colspan="2"><img src="/webclient/topo/images/spacer.gif" width="1" height="1"></td>
      </tr>
      <tr> 
        <td height="25" class="header2bg" colspan="2"> <span class="header2"> 
          <fmt:message key='webclient.topo.objectdetails.tab.protocol.header'/></span></td>
      </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.snmpport'/></span> 
        </td>
        <td width="422" height="30" class="text"> 
          <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" class="NobotBorder">
            <tr> 
              <td width="32%"> <html-el:text styleClass= "formstyle" name="ObjectDetailsBean"  property="snmpport"/></td>
              <c:set target="${ObjectDetailsBean.map}" property="snmpport" value="${null}"/> 
              <td width="49%" class="errorText"> <html-el:errors property="snmpport"/></td>
            </tr>
          </table></td>
      </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.basemibs'/></span></td>
        <td height="30"><html-el:text styleClass= "formStyle"  name="ObjectDetailsBean" property="baseMibs"/></td>
        <c:set target="${ObjectDetailsBean.map}" property="baseMibs" value="${null}"/> 
      </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.readcommunity'/></span></td>
        <td height="30"> <select name="communitylist" style=width:100 class="formStyle">
            <c:forTokens items="${ObjectDetailsBean.map.community}" var="token" delims=" " > 
            <option value ='<c:out value="${token}"/>'><c:out value="${token}"/></option>
            </c:forTokens> </select> </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.writecommunity'/></span> 
        </td>
        <td height="30"> <select name="writecommunitylist" style=width:100 class="formStyle">
            <c:forTokens items="${ObjectDetailsBean.map.writeCommunity}" var="token" delims=" " > 
            <option value ='<c:out value="${token}"/>'><c:out value="${token}"/></option>
            </c:forTokens> </select> </td>
      </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.version'/></span></td>
        <td height="30" class="text"><c:out value='${ObjectDetailsBean.map.version}'/>&nbsp;</td>
      </tr>
      <c:if test='${ObjectDetailsBean.map.version == "v3"}'> 
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.contextname'/></span> 
        </td>
        <td height="30" class="text"><c:out value='${ObjectDetailsBean.map.contextName}'/></td>
      </tr>
      <tr> 
        <td width="150" height="30"> <span class="text"><fmt:message key='webclient.topo.objectdetails.username'/></span> 
        </td>
        <td height="30" class="text"> <c:out value='${ObjectDetailsBean.map.userName}'/></td>
      </tr>
      </c:if> </table></td> </tr>