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

<%
   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources");
%>

<HTML>


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


   {SHARED_HEADER_CODE}

   <SCRIPT>
      function onInit()
      {
         var form=document.forms[0];
         {ONINIT}
      }

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

         var success = notifyAllOfExit()
         if(success)
         {
            {ONEXIT}

             var url =	"webacc?taskId=<%= c.var("taskId") %>&merge=fw.ExtendObject";
             url += "&User.context=<%= c.var("User.context") %>";
             url += "&nextState=doShowExtensions&eDir$target=<%= c.urlEncode(c.var("eDir$target")) %>";
         }

         return success;
      }

      function cancelSelected()
      {
          if(window.opener == null)
          {
             window.location.href ="webacc?taskId=base.ExtendObjects&merge=fw.ExtendObject&nextState=doShowExtensions&eDir$target=<%= c.urlEncode(c.var("eDir$target")) %>&User.context=<%= c.var("User.context") %>";
          }
          else
          {
             window.close();
          }
      }
   </SCRIPT>
</HEAD>


<BODY bgcolor="#FFFFFF" onLoad="onInit();">
{FORM_TAG}

   <%-- - edas and system variables  - --%>
   <INPUT type="hidden" name="taskId" value="<c:out value="${taskId}"/>">
   <INPUT type="hidden" name="eDirCommand" value="Write">
   <INPUT type="hidden" name="eDir$target" value="<c:out value="${param.eDir$target}"/>">
   <INPUT type="hidden" name="merge" value="dev.GenConfExtend">
   <INPUT type="hidden" name="error" value="dev.GenErr">
   <INPUT type="hidden" name="eDir$target$auxillaryClassExtension" value="<%= c.var("auxillaryClassExtension") %>">
   <INPUT type="hidden" name="nextState" value="doEDAS">
   <INPUT type="hidden" name="GeneralMsg.Url">

   <!---- Shared Form Code ---->
   {SHARED_FORM_CODE}


   <iman:taskHeader title="${requestScope['Task.displayName']}:  ${requestScope['Task.targetDisplayName']}" iconUrl="dir/${requestScope['TaskHeader.iconUrl']}" iconAlt="${requestScope['TaskHeader.iconAlt']}"/><BR>

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

   <TABLE class="mediumtext" border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0">

      {CONTROLS}

   </TABLE>

   <BR>
   <A href="Javascript: if(onExit() != false) document.forms[0].submit();"><IMG src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" alt="<%= c.string("Button.OK.alt") %>" title="<%= c.string("Button.OK.alt") %>" border=0></A>
&nbsp;<A href="#"onClick="javascript:cancelSelected();return false"><IMG name="Cancel" alt="<%= c.string("Button.Cancel.alt") %>" title="<%= c.string("Button.Cancel.alt") %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.Cancel.image") %>" border=0></A>
<HR color="#6B8899" size="2">

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



