<%@  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.toHTML(c.string("DeleteRBSObject.DeleteRBSObjectTitle")) %></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 strInput = document.DeleteRBSObjectForm.DeleteObjectName.value;

      if ((null == strInput) || (0 == strInput.length))
      {
         alert("<%= c.toScript(c.string("DeleteRBSObject.InvalidObjectName")) %>");
         return false;
      }

      return true;
   }

   function setFocusToFormElement()
   {
      document.DeleteRBSObjectForm.DeleteObjectName.focus();
   }

</script>
</HEAD>

<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF" onLoad="returnFromOS();setFocusToFormElement()">
<FORM name="DeleteRBSObjectForm" 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="doDeleteObject">

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

   <FONT face="Helvetica,Arial" size=-1>
   <NOBR><%= c.toHTML(c.string("DeleteRBSObject.RBSObjectName")) %></NOBR><BR>
   <input type=text name="DeleteObjectName" value="" size=35>
	<% c.set("OS.TypeFilter", "rbsRole,rbsCollection,rbsTask,rbsBook,rbsModule");
	   c.set("OS.Control", "DeleteObjectName");
      c.set("OS.Mode", "Browse"); %>
	<jsp:include page='<%= c.getPath("dev/OS_inc.jsp") %>' flush="true" />
   <BR><BR>
   <INPUT type=image name="Delete" alt="<%= c.toHTML(c.string("Button.Delete.alt")) %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" border=0><jsp:include page='<%= c.getPath("dev/Cancel_inc.jsp") %>' flush="true" />
   </FONT>
</FORM>
<jsp:include page='<%= c.getPath("dev/OSFooter_inc.jsp") %>' flush="true" />
</BODY></HTML>
