<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources");
   c.set("Task.nextState", "doSOEPro");
   c.set("TC.controlName", "eDir$target");
   c.set("Task.nextMerge", c.var("nextMerge"));
%>

<HTML>
<HEAD>
	<TITLE><%= c.string("ProductName") %></TITLE>
	<LINK rel='stylesheet' href='<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>'>

   <jsp:include page='<%= c.getPath("dev/eMFrameScripts_inc.jsp") %>' flush="true" />
   <jsp:include page='<%= c.getPath("dev/TCScripts_inc.jsp") %>' flush="true" />

   <SCRIPT language="JavaScript">
      function isValid()
      {
         return validateTargetChooser();
      }

      function getValidTypes()
      {
         return "<%= c.var("TC.osTypeFilter") %>";
      }
   </SCRIPT>
</HEAD>

<BODY onLoad="document.form.single.focus();">
<FORM name="form" method=post action="webacc" onSubmit="return isValid();" >

   <!-- MFRAME VARIABLES -->
   <INPUT type=hidden name="taskId"            value="<%= c.var("taskId") %>">
   <INPUT type=hidden name="error"             value="dev.GenErr">
   <INPUT type=hidden name="nextState"         value="<%= c.var("Task.nextState") %>">
   <INPUT type=hidden name="nextPage"          value="">
   <INPUT type=hidden name="eDirCommand"       value="read">
   <INPUT type=hidden name="eDirSearch"        value="<%= c.var("eDirSearch") %>">
   <INPUT type=hidden name="merge"	           value="<%= c.var("Task.nextMerge") %>">

   <%
      c.set("TaskHeader.title", c.var("Task.defaultDisplayName"));
      c.set("TaskHeader.iconUrl", c.var("Task.DefaultIcon.name"));
      c.set("TaskHeader.iconAlt", c.var("Task.DefaultIcon.alt"));
   %>
   <jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>
   <jsp:include page='<%= c.getPath("dev/Messagebar_inc.jsp") %>' flush="true" />

   <% if (c.var("TC.instructions").equals("") == false) { %>
      <DIV class="instructions"><%= c.var("TC.instructions") %><BR><BR></DIV>
   <% } %>

   <DIV class=mediumtext>
      <% c.set("MVStringEditor_TypesCallBack", "getValidTypes"); %>
      <jsp:include page='<%= c.getPath("dev/TC_inc.jsp") %>' flush="true" />
      <BR>
      <input type=checkbox name="justValued" value="true" checked/><A href="#" onClick="document.forms[0].justValued.checked = !document.forms[0].justValued.checked">Only show valued attributes</A>
   </DIV>

   <HR color="#458ab9" size="2" width="100%" align="left">
   <INPUT type=image name="OkButton" alt="<%= c.string("Button.OK.alt") %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" border=0><jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
</FORM>
<jsp:include page='<%= c.getPath("dev/OSFooter_inc.jsp") %>' flush="true" />
</BODY>
</HTML>
