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


<HTML>
<HEAD>
   <TITLE><iman:string key="ProductName"/></TITLE>
   <LINK rel="stylesheet" href="<c:out value="${ContextPath}"/>/portal/modules/dev/css/hf_style.css">
   <iman:eMFrameScripts/>
   <STYLE>
      td {font-size:12px};
   </STYLE>
</HEAD>

<BODY>
<FORM name="form" method="post" action="webacc" onSubmit="return onExit();">

   <!---- 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.GenConf">
   <INPUT type="hidden" name="error" value="dev.GenErr">

   <iman:taskHeader title="TaskLauchingDemo"/><BR>

   Tasks that return to my parent:<BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.CreateUser&launcher=<c:out value="${launcherId}"/>&lifecycle=Recreate">Create User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.ModifyUser&launcher=<c:out value="${launcherId}"/>&lifecycle=Recreate">Modify User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.DeleteObjects&launcher=<c:out value="${launcherId}"/>&lifecycle=Recreate">Delete Object</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=debug.DelegateTask&launcher=<c:out value="${launcherId}"/>&lifecycle=Recreate">DelegateTask</a><BR><BR>

   Tasks that return to me:<BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.CreateUser&launcher=<c:out value="${taskId}"/>&lifecycle=Recreate">Create User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.ModifyUser&launcher=<c:out value="${taskId}"/>&lifecycle=Recreate">Modify User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.DeleteObjects&launcher=<c:out value="${taskId}"/>&lifecycle=Recreate">Delete Object</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=debug.DelegateTask&launcher=<c:out value="${taskId}"/>&lifecycle=Recreate">DelegateTask</a><BR><BR>

   Tasks that return to homepage (regardless who lauched this task):<BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.CreateUser&launcher=fw.HomePage&lifecycle=Recreate">Create User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.ModifyUser&launcher=fw.HomePage&lifecycle=Recreate">Modify User</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=base.DeleteObjects&launcher=fw.HomePage&lifecycle=Recreate">Delete Object</a><BR>
   <a href="frameservice?NPService=fw.LaunchService&NPAction=Delegate&delegate=debug.DelegateTask&launcher=fw.HomePage&lifecycle=Recreate">DelegateTask</a><BR><BR>

   Open in new window:<BR>
   <a target="_default" href="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=base.CreateUser&launcher=fw.LaunchService&lifecycle=New">Create User</a><BR>
   <a target="_default" href="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=base.ModifyUser&launcher=fw.LaunchService&lifecycle=New">Modify User</a><BR>
   <a target="_default" href="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=base.DeleteObjects&launcher=fw.LaunchService&lifecycle=New">Delete Object</a><BR>
   <a target="_default" href="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=debug.DelegateTask&launcher=fw.LaunchService&lifecycle=New">DelegateTask</a><BR><BR>

   <HR color="#6B8899" size="2">
</FORM>

   Open in the current frame from a form:<BR>
   <form action="frameservice" method="post">
      <input type="hidden" name="NPService" value="fw.LaunchService"/>
      <input type="hidden" name="NPAction" value="Delegate"/>
      <input type="hidden" name="delegate" value="base.EnableAccount"/>
      <input type="hidden" name="launcher" value="fw.HomePage"/>
      <input type="hidden" name="lifecycle" value="new"/>
      <input type="submit"/>
   </form>

</BODY>
</HTML>



