<%@ page language="java" contentType="text/plain; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.grid.*" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@page import="com.edeal.frontline.Utils"%> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); //String corID = flRequest.getRequestParameterOrAttribute("CorID"); String EntID = flRequest.getRequestParameterOrAttribute("EntID"); String PerID = flRequest.getRequestParameterOrAttribute("PerID"); String PerName = flRequest.getRequestParameterOrAttribute("PerName"); String EntName = flRequest.getRequestParameterOrAttribute("EntName"); //String field = flRequest.getParameter("field"); String formIndex = flRequest.getParameter("formIndex"); try { Integer.parseInt(formIndex); } catch (NumberFormatException nfe) { formIndex = "0"; } formIndex = formIndex != null && !"".equals(formIndex) ? formIndex : "0"; %> var f = window.top.opener.document.forms[0]; f.OppEntID.value = '<%= EntID %>'; f.lblOppEntID.value = '<%= Utils.formatToJavascript(EntName) %>'; //f.lblOppEntID.value=f.lblOppEntID.value.split("'").join("\'"); f.OppPerID.value = '<%= PerID %>'; f.lblOppPerID.value = '<%= Utils.formatToJavascript(PerName) %>'; closeWindow();