<%@  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"); %>
<HTML>
<HEAD>
<TITLE><%= c.string("MakeLikeObject.MakeLikeObjectTitle") %></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/OSScripts_inc.jsp") %>' flush="true" />
<script language="JavaScript">

   function checkNullInput()
   {
      var strSON = document.MakeLikeObjectForm.SourceObjectName.value;
      if ((null == strSON) || (0 == strSON.length))
      {
         alert("<%= c.string("MakeLikeObject.InvalidSourceObjectName") %>");
         return false;
      }
      var strTON = document.MakeLikeObjectForm.TargetObjectName.value;
      if ((null == strTON) || (0 == strTON.length))
      {
         alert("<%= c.string("MakeLikeObject.InvalidTargetObjectName") %>");
         return false;
      }

      return true;
   }

   function setFocusToFormElement()
   {
      document.MakeLikeObjectForm.SourceObjectName.focus();
   }

</script>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="setFocusToFormElement()">
<form name="MakeLikeObjectForm" method=post action="webacc" onSubmit="return(checkNullInput())">
   <input type=hidden name="taskId" value="<%= c.var("taskId") %>">
   <input type=hidden name="merge" value="dev.GenConf">
   <input type=hidden name="error" value="dev.GenErr">
   <input type=hidden name="User.context" value="<%= c.var("User.context") %>">
   <input type=hidden name="nextState" value="doMakeLikeObject">

   <% c.set("TaskHeader.title", c.string("MakeLikeObject.MakeLikeObject")); %>
   <jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>


   <NOBR><%= c.string("MakeLikeObject.SourceObjectName") %></NOBR><BR>
   <input type=text name="SourceObjectName" value="" size=<%= c.string("UI.textboxSize") %>>
	<% c.set("OS.TypeFilter", "[root]");
	   c.set("OS.Control", "SourceObjectName"); %>
	<jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
   <BR><BR>

   <NOBR><%= c.string("MakeLikeObject.TargetObjectName") %></NOBR><BR>
   <input type=text name="TargetObjectName" value="" size=<%= c.string("UI.textboxSize") %>>
	<% c.set("OS.TypeFilter", "[root]");
	   c.set("OS.Control", "TargetObjectName"); %>
	<jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
   <BR><BR>

   <NOBR><%= c.string("MakeLikeObject.UpdateExpAcls") %></NOBR><BR>
   <input type="checkbox" name="UpdateExpAcls">
   <BR><BR>

   <NOBR><%= c.string("MakeLikeObject.SearchContextName") %></NOBR><BR>
   <input type=text name="SearchContextName" value="" size=<%= c.string("UI.textboxSize") %>>
	<% c.set("OS.TypeFilter", "[root],[containers]");
	   c.set("OS.Control", "SearchContextName"); %>
	<jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
   <BR><BR>

   <INPUT type=image name="MakeLike" 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>
