<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils,
                                                                             com.novell.nps.gadgetManager.BaseGadgetInstance,
                                                                             com.novell.emframe.dev.JobData" %>
<% JSPConduit c = JSPConduit.getJSPConduit(request);
   c.stringTable("DevResources");

   BaseGadgetInstance bgi = (BaseGadgetInstance) request.getAttribute("BGI");
   JobData data = JobData.getJobData(bgi);
   String objectName = "<empty>";

   if (null != data)
   {
      String[] on = data.getObjectNames();

      if(on != null && on.length == 1)
      {
         objectName = on[0];
      }
   }
%>
<html>
   <body>
   Chained Task 2<br>In JobData object name was "<%= objectName %>".<br>

   <a id=okbutton href="<%= "webacc?NPService=fw.LaunchService&NPAction=Return&returnID=" + c.urlEncode((String) request.getAttribute("GI_ID")) %>"><IMG alt="<%= c.string("Button.OK.alt") %>" title="<%= c.string("Button.OK.alt") %>" src="<%= c.getModulesUrl() + "/dev/images/" + c.string("Button.OK.image") %>" border=0></a>
   </body>
</html>