<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");
   c.stringTable("FwResources"); %>

<HTML>
<HEAD>
   <TITLE><%= c.string("DeleteObject.DeleteObjectTitle") %></TITLE>
   <LINK href="<%= c.getModulesUrl() + "/dev/css/hf_style.css" %>" rel="styleSheet" type="text/css">

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

   <jsp:include page='<%= c.getPath("dev/TCScripts_inc.jsp") %>' flush="true">
      <jsp:param name="TC.advancedSelectionEnabled" value="true"/>
      <jsp:param name="TC.multipleObjectEnabled" value="true"/>
   </jsp:include>

   <SCRIPT language="JavaScript">
      function isValid()
      {
         if (validateTargetChooser() == true)
         {
            var message = "<%= c.toHTML(c.string("DeleteObject.DeleteWarning")) %>";
            if (!confirm(message))
            {
               return false;
            }
            else
            {
               return true;
            }
         }
         else
         {
            return false;
         }
      }
   </SCRIPT>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="document.DeleteObjectForm.single.focus();returnFromOS();">
<form name="DeleteObjectForm" method=post action="webacc" onSubmit="return (isValid());">
   <input type=hidden name="taskId" value="<%= c.var("taskId") %>">
   <input type=hidden name="merge" value="dev.GenConf">
   <input type=hidden name="error" value="dev.MooGenErr">
   <input type=hidden name="User.context" value="<%= c.var("User.context") %>">
   <input type=hidden name="nextState" value="doDeleteObject">
   <input type=hidden name="objectList" value="">
   <input type=hidden name="GifName" value="<%= c.var("GifName") %>">
   <input type=hidden name="TranslatedClass" value="<%= c.var("TranslatedClass") %>">
	<% c.set("TaskHeader.title", c.formatMessage(c.string("DeleteObject.DeleteObject"), new String[]{c.var("TranslatedClass")}));
      c.set("TaskHeader.iconUrl", c.plus("dir/", c.var("GifName"))); %>
   <jsp:include page='<%= c.getPath("dev/TaskHeader_inc.jsp") %>' flush="true" /><BR>
   <iman:messagebar/>
   <DIV class="instructions"><%= c.string("DeleteObject.SelectPrompt") %><BR><BR></DIV>
   <% c.set("TC.controlName", "DeleteObjectName");
      c.set("TC.prompt", c.string("DeleteObject.ObjectName"));
      c.set("TC.multipleObjectEnabled", "true");
      c.set("TC.showObjectTypeSelectionInAdvancedSelect", "true");
      c.set("TC.advancedSelectionEnabled", "true");
   %>
     <DIV class=mediumtext>
        <jsp:include page='<%= c.getPath("dev/TC_inc.jsp") %>' flush="true" />
     </DIV>
     <BR>
     
   <iman:bar/>
   <INPUT type=image name="Delete" alt="<%= c.string("Button.Delete.alt") %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" border=0> <iman:cancelBtn/>
   
</form>
<FORM name="previewForm" id="previewForm" method="post" action="webacc" target="previewFrame" >
   <INPUT type=hidden name="taskId"    value="fw.PreviewObjectFilter" >
   <INPUT type=hidden name="nextState" value="initialState" >
   <INPUT type=hidden name="merge"     value="fw.TCPreviewFilter" >
   <INPUT type=hidden name="query"     value="" >
   <INPUT type=hidden name="filter"    value="" >
   <INPUT type=hidden name="container" value="" >
   <INPUT type=hidden name="subContainerSearch" value="false" >
   <INPUT type=hidden name="objectEntryCount" value="" >
   <INPUT type=hidden name="subClasses" value="" >
</FORM>
<iman:osFooter/>
</BODY></HTML>
