<%@  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"); %>
<HTML>
<HEAD>
    <TITLE><%= c.string("ProductName") %></TITLE>
</HEAD>
<FRAMESET ROWS="75px,100%">
    <FRAME name="previewHeader" src="webacc?taskId=dev.Empty&merge=fw.TemplateBuilder_previewWarning" marginheight="3" marginwidth="6" scrolling="auto">

   <% if (c.var("mode").equals("page")) { %>
       <FRAME name="previewBody" src="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=fw.PreviewPage&launcher=fw.LaunchService&lifecycle=New&nextState=initialState&objectTypeName=<%= c.toHTML(c.var("objectTypeName")) %>&parentId=<%= c.var("parentId") %>" marginheight="3" marginwidth="6" scrolling="auto">
   <% } else if (c.var("mode").equals("task")){ %>
       <FRAME name="previewBody" src="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=fw.PreviewTask&launcher=fw.LaunchService&lifecycle=New&nextState=initialState&eDirSearch=<%= c.toHTML(c.var("safeObjectTypeName")) %>&merge=<%= c.var("templateName") %>&parentId=<%= c.var("parentId") %>" marginheight="3" marginwidth="6" scrolling="auto">
   <% } else { %>
       <FRAME name="previewBody" src="frameservice?NPService=fw.LaunchService&NPAction=Launch&launch=fw.PreviewCreateTask&launcher=fw.LaunchService&lifecycle=New&nextState=initialState&eDirSearch=<%= c.toHTML(c.var("safeObjectTypeName")) %>&merge=<%= c.var("templateName") %>&parentId=<%= c.var("parentId") %>" marginheight="3" marginwidth="6" scrolling="auto">
   <% } %>

</FRAMESET>
</HTML>
