<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit2, com.novell.emframe.dev.eMFrameUtils" isELIgnored="false" %>
<%   JSPConduit2 c = JSPConduit2.getJSPConduit(request); %>
<%   response.setHeader("Cache-Control", "no-cache"); %>
<%   response.setHeader("Expires", "-1"); %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>

<HTML>
<HEAD>
<TITLE>ObjectViewStart</TITLE>
<iman:eMFrameScripts />
<SCRIPT language="JavaScript" src="<%= c.getModulesUrl() + "/dev/javascripts/" %>OVBrowserScripts.js"></script>
<script>

   function startOV()
   {
      //update home page
      if ("<%= c.var("OV.ShowHiddenTasksMessage") %>" == "true")
      {
			//REMIND: change to use new code that checks filesystem & eDir 
         //refresh home page with hidden task info
         parent.Content.location="webacc?taskId=fw.HomePage&merge=fw.HomePage&fw_fromRespId=${fw_respId}&fw_from=OVStart-UpdateHomePage-toShowHiddenTasksMessage";
      }
      
      //call doDynamicOS
      var OV=new Object();
      OV.mode =            (("<%= c.var("OV.Mode") %>"!="")           ?"<%= c.var("OV.Mode") %>"           :"");
      OV.multiSelect =     (("<%= c.var("OV.MultiSelect") %>"!="")    ?"<%= c.var("OV.MultiSelect") %>"    :"");
      OV.initialContext =  (("<%= c.var("OV.InitialContext") %>"!="") ?"<%= c.var("OV.InitialContext") %>" :"");
      OV.typeFilter =      "<%= c.var("OV.TypeFilter") %>";
      //alert("startOV: OV.mode = "+OV.mode+"\nOV.multiSelect = "+OV.multiSelect+"\nOV.initialContext = "+OV.initialContext+"\nOV.typeFilter = "+OV.typeFilter);
      doDynamicOV("<%=c.var("User.context")%>",OV);
   }
   
</script>
</HEAD>
<BODY onLoad="javascript:startOV()">

   <jsp:include page="OVFooterPostDataForm_inc.jsp" flush="true" />

</BODY>
</HTML>
