<%@  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>
   <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" />


   <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}"/>

   <iman:include page="dev/eMFrameScripts_inc.jsp"/>
   <iman:include page="dev/ValidateIntegerScripts_inc.jsp"/>
   <iman:include page="dev/OSScripts_inc.jsp"/>


   <SCRIPT>
      function onInit()
      {
      }

      <%-- ---------------------------------------------------------------- --%>
      <%--    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();returnFromOS();">
<FORM name="form" method=post action="webacc" onSubmit="return false">
   <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">


         <%-- member --%>
         <TR>
            <TD align="left" colspan="2">
               <c:out value="${memberDisplayName}"/>:&nbsp;&nbsp;
            </TD>
         </TR>
         <TR>
            <TD>
               <c:if test="${edasRights.target.member.writeable  || taskIsMoo=='true'}">
                  <INPUT type="hidden" name="eDir$target$member" value="<c:out value="${eDir$target$member}" escapeXml="false"/>">
                  <SCRIPT>addToNotificationList('member', 'uih_mvStringEditor');</SCRIPT>
               </c:if>
               <x:set var="MVStringEditor_xmlNodeSet" select="$edasXml/edas/member" scope="request"/>
               <iman:mved readonly="${!edasRights.target.member.writeable}" enforceUnique="true" name="_member" objectTypeName="*" mode="${mvmode}" size="10"/>
            </TD>
            <TD valign="top">
               <c:set var="mode"><x:out select="$edasXml/edas/member/@mode"/></c:set>
               <iman:mooMode name="_member_mode" value="${mode}" multi="true" />
            </TD>
         </TR>
         <TR><TD height="9"></TD></TR>

   </TABLE>

</FORM>
<iman:osFooter/>
</BODY>
</HTML>
