<%@  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:uihandlerTools/>
   <iman:pageScripts/>
   <iman:eMFrameScripts/>
   <iman:validateNumberScripts/>
   <iman:mvedScripts mode="mvsel"/><%-- Always include for the description field --%>
   <c:if test="${DeviceType=='browser'}">
      <iman:mvedScripts mode="mvie"/>
   </c:if>

   <SCRIPT>
      function onInit()
      {
         <%-- Other name --%>
<%--         <c:if test="${taskIsMoo=='false'}">--%>
<%--            mvLoadFromPack("_CN", "<iman:toScript><c:out value="${otherName}"/></iman:toScript>");--%>
<%--         </c:if>--%>
      }

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

         <%-- Other name --%>
<%--         <c:if test="${taskIsMoo=='false'}">--%>
<%--            form.otherName.value = mvGetValuesAsPack("_CN" );--%>
<%--         </c:if>--%>

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

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

      <%-- Other name --%>
<%--      <c:if test="${taskIsMoo=='false'}">--%>
<%--      <TR>--%>
<%--         <TD align="left">--%>
<%--            <iman:string key="OtherName"/>:&nbsp;--%>
<%--         </TD>--%>
<%--      <c:if test="${DeviceType=='pocket'}"></TR><TR></c:if>--%>
<%--         <TD>--%>
<%--            <c:if test="${otherNameRights=='RW'  || taskIsMoo=='true'}">--%>
<%--               <INPUT type="hidden" name="otherName" value="">--%>
<%--            </c:if>--%>
<%--            <iman:mved name="_CN" minLength="1" maxLength="64" ignoreCase="true" enforceUnique="true" readonly="${otherNameRights!='RW'}"  />--%>
<%--         </TD>--%>
<%--         <TD valign="top">--%>
<%--         </TD>--%>
<%--      </TR>--%>
<%--      <TR><TD height="9"></TD></TR>--%>
<%--      </c:if>--%>

      <%-- L --%>
      <TR>
         <TD align=left>
            <c:out value="${LDisplayName}"/>:&nbsp;&nbsp;
         </TD>
         <c:if test=" ${DEVICE_TYPE=='pocket'}"></TR><TR></c:if>
         <TD>
            <c:if test="${edasRights.target.L.writeable  || taskIsMoo=='true'}">
               <INPUT type="hidden" name="eDir$target$L" value="<c:out value="${eDir$target$L}" escapeXml="false"/>">
               <SCRIPT>addToNotificationList('L', 'uih_mvStringEditor');</SCRIPT>
            </c:if>
            <x:set var="MVStringEditor_xmlNodeSet" select="$edasXml/edas/L" scope="request"/>
            <iman:mved maxLength="128" readonly="${!edasRights.target.L.writeable}" enforceUnique="true" ignoreCase="true" minLength="1" name="_L"               />
         </TD>
         <TD valign=top>
            <c:set var="mode"><x:out select="$edasXml/edas/L/@mode"/></c:set>
            <iman:mooMode name="_L_mode" value="${mode}" multi="true" />
         </TD>
      </TR>
      <TR><TD height="8"></TD></TR>
      <%-- S --%>
      <TR>
         <TD align=left>
            <iman:string key="AttributeS"/>:&nbsp;&nbsp;
         </TD>
         <c:if test=" ${DEVICE_TYPE=='pocket'}"></TR><TR></c:if>
         <TD>
            <c:if test="${edasRights.target.S.writeable  || taskIsMoo=='true'}">
               <INPUT type="hidden" name="eDir$target$S" value="<c:out value="${eDir$target$S}" escapeXml="false"/>">
               <SCRIPT>addToNotificationList('S', 'uih_mvStringEditor');</SCRIPT>
            </c:if>
            <x:set var="MVStringEditor_xmlNodeSet" select="$edasXml/edas/S" scope="request"/>
            <iman:mved maxLength="128" readonly="${!edasRights.target.S.writeable}" enforceUnique="true" ignoreCase="true" minLength="1" name="_S"               />
         </TD>
         <TD valign=top>
            <c:set var="mode"><x:out select="$edasXml/edas/S/@mode"/></c:set>
            <iman:mooMode name="_S_mode" value="${mode}" multi="true" />
         </TD>
      </TR>
      <TR><TD height="8"></TD></TR>
      <%-- SA --%>
      <TR>
         <TD align=left>
            <c:out value="${SADisplayName}"/>:&nbsp;&nbsp;
         </TD>
         <c:if test=" ${DEVICE_TYPE=='pocket'}"></TR><TR></c:if>
         <TD>
            <c:if test="${edasRights.target.SA.writeable  || taskIsMoo=='true'}">
               <INPUT type="hidden" name="eDir$target$SA" value="<c:out value="${eDir$target$SA}" escapeXml="false"/>">
               <SCRIPT>addToNotificationList('SA', 'uih_mvStringEditor');</SCRIPT>
            </c:if>
            <x:set var="MVStringEditor_xmlNodeSet" select="$edasXml/edas/SA" scope="request"/>
            <iman:mved maxLength="128" readonly="${!edasRights.target.SA.writeable}" enforceUnique="true" ignoreCase="true" minLength="1" name="_SA"               />
         </TD>
         <TD valign=top>
            <c:set var="mode"><x:out select="$edasXml/edas/SA/@mode"/></c:set>
            <iman:mooMode name="_SA_mode" value="${mode}" multi="true" />
         </TD>
      </TR>
      <TR><TD height="8"></TD></TR>
      <%-- Description --%>
	  <TR>
	     <TD align=left>
	        <c:out value="${DescriptionDisplayName}"/>:&nbsp;&nbsp;
	     </TD>
	     <c:if test="${DEVICE_TYPE=='pocket'}"></TR><TR></c:if>
		      <TD>
	        <c:if test="${edasRights.target.Description.writeable}">
	           <INPUT type="hidden" name="eDir$target$Description" value="<c:out value="${eDir$target$Description}" escapeXml="false"/>" >
	           <SCRIPT>addToNotificationList('Description', 'uih_mvStringEditor');</SCRIPT>
	        </c:if>
		         <x:set var="MVStringEditor_xmlNodeSet" select="$edasXml/edas/Description" scope="request"/>
	        <c:set var="MVStringEditor_bigEditBox" value="true" scope="request"/>
	        <iman:mved mode="mvsel" maxLength="1024" readonly="${!edasRights.target.Description.writeable}" enforceUnique="true" ignoreCase="true" minLength="1" name="_Description"  biggerBox="true" size="4"/>
	     </TD>
	     <TD valign=top>
	        <c:set var="mode"><x:out select="$edasXml/edas/Description/@mode"/></c:set>
	        <iman:mooMode name="_Description_mode" value="${mode}" multi="true"/>
	     </TD>
	  </TR>
      <TR><TD height="8"></TD></TR>

   </TABLE>

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