<%@  page import="com.novell.webaccess.common.JSPConduit,
                  java.util.ResourceBundle,
                  com.novell.emframe.dev.eMFrameUtils" %>

<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>

<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/x.tld" prefix="x" %>




<iman:stringtable bundle="DevResources"/>
<x:parse xml="${edas}" var="edasXml"/>


<HTML>
<HEAD>
   <TITLE><iman:string key="ProductName"/></TITLE>
   <LINK rel="stylesheet" href="<c:out value="${ContextPath}" />/portal/modules/dev/css/hf_style.css">
   <iman:include page="fw/UiHandlerTools.jsp" />
   <iman:include page="dev/PageScripts_inc.jsp" />
   <iman:include page="dev/eMFrameScripts_inc.jsp"/>
   <iman:include page="dev/MVNetworkAddrScripts_inc.jsp"/>


   <SCRIPT>
      function onInit()
      {
         document.form._Network_Address_Restriction.focus();
      }

      <%-- ---------------------------------------------------------------- --%>
      <%--    What should this method do?                                   --%>
      <%--    -data validation                                              --%>
      <%--    -general page cleanup before being submitted                  --%>
      <%--    -if this method returns false, the page will not be saved     --%>
      <%--    Called when user leaves this page or applys changes           --%>
      <%-- ---------------------------------------------------------------- --%>
      function isPageValid()
      {
         var form=document.forms[0];


         return notifyAllOfExit();
      }

   </SCRIPT>
</HEAD>

<BODY onLoad="onInit();">
<FORM name="form" method=post action="webacc">
   <iman:include page="dev/Messagebar_inc.jsp"/>
   <iman:include page="dev/BookVars_inc.jsp"/>

   <!---- Shared Form Code ---->

   <!---- UI Created by UiHandlers ---->

   <TABLE class="mediumtext" border="0" cellpadding="0" cellspacing="0">
   <!-- Network Address Restriction -->
   <TR>
      <TD align=left colspan=2>
         <c:out value="${Network_Address_RestrictionDisplayName}"/>:&nbsp;&nbsp;
      </TD>
   </TR>

   <TR>
      <TD>
         <INPUT type="hidden" name="eDir$target$Network_Address_Restriction" value="<x:out select="$edasXml/edas/Network_Address_Restriction/value"/>" >
         <SCRIPT>addToNotificationList('Network_Address_Restriction', 'uih_netAddressMV');</SCRIPT>
         <c:set var="MVNetworkAddr_name" value="_Network_Address_Restriction"  scope="request"/>
         <c:set var="MVNetworkAddr_readonly" value="${!edasRights.target.Network_Address_Restriction.writeable}"  scope="request"/>
         <x:set var="MVNetworkAddr_xmlNodeSet" select="$edasXml/edas/Network_Address_Restriction" scope="request"/>
         <c:set var="MVNetworkAddr_size" value="10"  scope="request"/>
         <c:set var="MVNetworkAddr_width" value="450"  scope="request"/>
         <iman:include page="dev/MVNetworkAddr_inc.jsp"/>
      </TD>
      <TD valign=top>
         <c:set var="mode"><x:out select="$edasXml/edas/Network_Address_Restriction/@mode"/></c:set>
         <iman:mooMode name="_Network_Address_Restriction_mode" value="${mode}" multi="true" />
      </TD>
   </TR>

   <TR><TD height=9></TD></TR>
   </TABLE>

</FORM>
</BODY>
</HTML>
