<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" 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>
   <iman:stylesheet/>
   <iman:uihandlerTools/>
   <iman:pageScripts/>
   <iman:eMFrameScripts/>
   <iman:osScripts/>
   <iman:validateNumberScripts/>

   <c:choose>
      <c:when test="${DeviceType=='pocket'}">
         <c:set var="mvmode" value="mvtxt"/>
      </c:when>
      <c:otherwise>
         <c:set var="mvmode" value="mvsel"/>
      </c:otherwise>
   </c:choose>
   <iman:mvedScripts mode="${mvmode}"/>


   <SCRIPT>
      function onInit()
      {
         returnFromOS();
      }

      function isPageValid()
      {
         var form=document.forms[0];
         return notifyAllOfExit();
      }

   </SCRIPT>
</HEAD>

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

   <TABLE class="mediumtext" border="0" cellpadding="0" cellspacing="0">

      <%-- Security Equals --%>
      <TR>
         <TD align="left" colspan="2">
            <c:out value="${Security_EqualsDisplayName}"/>:&nbsp;&nbsp;
         </TD>
      </TR>
      <TR>
         <TD>
            <c:if test="${edasRights.target.Security_Equals.writeable  || taskIsMoo=='true'}">
               <INPUT type="hidden" name="eDir$target$Security_Equals" value="<c:out value="${eDir$target$Security_Equals}" escapeXml="false"/>">
               <SCRIPT>addToNotificationList('Security_Equals', 'uih_mvStringEditor');</SCRIPT>
            </c:if>
            <% /* Sort the list */ %>
            <%@page import="java.util.*" %>
            <%@page import="java.text.Collator" %>
            <% List list = new ArrayList(); %>
            <x:forEach select="$edasXml/edas/Security_Equals/value">
               <x:set var="node" select="string(.)"/>
               <jsp:useBean id="node" type="java.lang.String"/>
            <% list.add(node); %>
            </x:forEach>
            <% Collections.sort(list, Collator.getInstance()); pageContext.setAttribute("MVStringEditor_values", list); %>
            <iman:mved items="${MVStringEditor_values}" readonly="${!edasRights.target.Security_Equals.writeable}"  width="450" enforceUnique="true" name="_Security_Equals" objectTypeName="*"  mode="${mvmode}" size="10" showCount="true" history="true"/>
         </TD>
         <TD valign="top">
            <c:set var="mode"><x:out select="$edasXml/edas/Security_Equals/@mode"/></c:set>
            <iman:mooMode name="_Security_Equals_mode" value="${mode}" multi="true" />
         </TD>
      </TR>
      <TR><TD height="9"></TD></TR>

   </TABLE>

</FORM>
<iman:include page="dev/OSFooter_inc.jsp"/>
</BODY>
</HTML>
