Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\marketing\populationv2\synthesis.jsp
<%@page import="com.edeal.frontline.helper.custom.PopulationHelper"%> <%@ page language="java" contentType="text/plain;charset=UTF-8"%> <%@page session="true" import="com.edeal.frontline.*,com.edeal.frontline.custom.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean id="Population" class="com.edeal.frontline.PopulationBean" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); PopulationBean obj = (PopulationBean)request.getAttribute("Population"); String msg = null; try { msg = (String)request.getAttribute("returnEnterprise"); if (msg != null) { %> if (typeof(displayReturnedMessage) === 'function') { displayReturnedMessage('ent', '<%= Utils.formatToJavascript(msg) %>'); } <% } } catch (Exception e1) { logger.error("Exception when getting attribute", e1); } if (msg == null) { try { msg = (String)request.getAttribute("returnPerson"); if (msg != null) { %> if (typeof(displayReturnedMessage) === 'function') { displayReturnedMessage('per', '<%= Utils.formatToJavascript(msg) %>'); } <% } } catch (Exception e2) { logger.error("Exception when getting attribute", e2); } } FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); int popType = 0; int nbFob1 = 0, nbFob2 = 0, nbFob3 = 0, nbFob4 = 0, nbFob5 = 0; try{nbFob1 = obj.getPopFob1Nbr();} catch (FieldNotInitializedException ex) {} try{nbFob2 = obj.getPopFob2Nbr();} catch (FieldNotInitializedException ex) {} try{nbFob3 = obj.getPopFob3Nbr();} catch (FieldNotInitializedException ex) {} try{nbFob4 = obj.getPopFob4Nbr();} catch (FieldNotInitializedException ex) {} try{nbFob5 = obj.getPopFob5Nbr();} catch (FieldNotInitializedException ex) {} try { popType = Population.getPopType(); } catch (FieldNotInitializedException ex) { } String salesModel = context.getContextParameter("SalesModel"); PopulationHelper popHelper = PopulationHelper.factory(Population); popHelper.updateCountField(); %> try { var totNode = document.getElementById('PopTotNbr'); if (!totNode) { <%-- totNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> totNode = window.opener.document.getElementById('PopTotNbr'); if (!totNode) { totNode = window.opener.opener.document.getElementById('PopTotNbr'); } } if (totNode) { while (totNode.hasChildNodes()) { totNode.removeChild(totNode.firstChild); } try { totNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopTotNbr" alt="0" format="int"/>')); } catch (error) { try { totNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopTotNbr" alt="0" format="int"/>')); } catch (error) { totNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopTotNbr" alt="0" format="int"/>')); } } } } catch (error) { alert(error); } try { var entNode = document.getElementById('PopEntNbr'); if (!entNode) { <%-- entNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> entNode = window.opener.document.getElementById('PopEntNbr'); if (!entNode) { entNode = window.opener.opener.document.getElementById('PopEntNbr'); } } if (entNode) { while (entNode.hasChildNodes()) { entNode.removeChild(entNode.firstChild); } try { entNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopEntNbr" alt="0" format="int"/>')); } catch (error) { try { entNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopEntNbr" alt="0" format="int"/>')); } catch (error) { entNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopEntNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var perNode = document.getElementById('PopPerNbr'); if (!perNode) { <%-- perNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> perNode = window.opener.document.getElementById('PopPerNbr'); if (!perNode) { perNode = window.opener.opener.document.getElementById('PopPerNbr'); } } if (perNode) { while (perNode.hasChildNodes()) { perNode.removeChild(perNode.firstChild); } try { perNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopPerNbr" alt="0" format="int"/>')); } catch (error) { try { perNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopPerNbr" alt="0" format="int"/>')); } catch (error) { perNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopPerNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var silNode = document.getElementById('PopSilNbr'); if (!silNode) { <%-- silNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> silNode = window.opener.document.getElementById('PopSilNbr'); if (!silNode) { silNode = window.opener.opener.document.getElementById('PopSilNbr'); } } if (silNode) { while (silNode.hasChildNodes()) { silNode.removeChild(silNode.firstChild); } try { silNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopSilNbr" alt="0" format="int"/>')); } catch (error) { try { silNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopSilNbr" alt="0" format="int"/>')); } catch (error) { silNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopSilNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var nonNode = document.getElementById('PopNonNbr'); if (!nonNode) { <%-- nonNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> nonNode = window.opener.document.getElementById('PopNonNbr'); if (!nonNode) { nonNode = window.opener.opener.document.getElementById('PopNonNbr'); } } if (nonNode) { while (nonNode.hasChildNodes()) { nonNode.removeChild(nonNode.firstChild); } try { nonNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopNonNbr" alt="0" format="int"/>')); } catch (error) { try { nonNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopNonNbr" alt="0" format="int"/>')); } catch (error) { nonNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopNonNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var supNode = document.getElementById('PopSupNbr'); if (!supNode) { <%-- supNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> supNode = window.opener.document.getElementById('PopSupNbr'); if (!supNode) { supNode = window.opener.opener.document.getElementById('PopSupNbr'); } } if (supNode) { while (supNode.hasChildNodes()) { supNode.removeChild(supNode.firstChild); } try { supNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopSupNbr" alt="0" format="int"/>')); } catch (error) { try { supNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopSupNbr" alt="0" format="int"/>')); } catch (error) { supNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopSupNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var jouNode = document.getElementById('PopJouNbr'); if (!jouNode) { <%-- jouNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> jouNode = window.opener.document.getElementById('PopJouNbr'); if (!jouNode) { jouNode = window.opener.opener.document.getElementById('PopJouNbr'); } } if (jouNode) { while (jouNode.hasChildNodes()) { jouNode.removeChild(jouNode.firstChild); } try { jouNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopJouNbr" alt="0" format="int"/>')); } catch (error) { try { jouNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopJouNbr" alt="0" format="int"/>')); } catch (error) { jouNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopJouNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var addNode = document.getElementById('PopAddNbr'); if (!addNode) { <%-- addNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> addNode = window.opener.document.getElementById('PopAddNbr'); if (!addNode) { addNode = window.opener.opener.document.getElementById('PopAddNbr'); } } if (addNode) { while (addNode.hasChildNodes()) { addNode.removeChild(addNode.firstChild); } try { addNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopAddNbr" alt="0" format="int"/>')); } catch (error) { try { addNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopAddNbr" alt="0" format="int"/>')); } catch (error) { addNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopAddNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var rmvNode = document.getElementById('PopRmvNbr'); if (!rmvNode) { <%-- rmvNode is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> rmvNode = window.opener.document.getElementById('PopRmvNbr'); if (!rmvNode) { rmvNode = window.opener.opener.document.getElementById('PopRmvNbr'); } } if (rmvNode) { while (rmvNode.hasChildNodes()) { rmvNode.removeChild(rmvNode.firstChild); } try { rmvNode.appendChild(document.createTextNode('<fl:getProperty name="Population" property="PopRmvNbr" alt="0" format="int"/>')); } catch (error) { try { rmvNode.appendChild(window.opener.document.createTextNode('<fl:getProperty name="Population" property="PopRmvNbr" alt="0" format="int"/>')); } catch (error) { rmvNode.appendChild(window.opener.opener.document.createTextNode('<fl:getProperty name="Population" property="PopRmvNbr" alt="0" format="int"/>')); } } } } catch (error) {} try { var obj1 = document.getElementById('PopObj1'); if (!obj1) { <%-- obj1 is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> obj1 = window.opener.document.getElementById('PopObj1'); if (!obj1) { obj1 = window.opener.opener.document.getElementById('PopObj1'); } } if (obj1) { while (obj1.hasChildNodes()) { obj1.removeChild(obj1.firstChild); } try { obj1.appendChild(document.createTextNode('<%=nbFob1%>')); } catch (error) { try { obj1.appendChild(window.opener.document.createTextNode('<%=nbFob1%>')); } catch (error) { obj1.appendChild(window.opener.opener.document.createTextNode('<%=nbFob1%>')); } } } } catch (error) {} try { var obj2 = document.getElementById('PopObj2'); if (!obj2) { <%-- obj2 is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> obj2 = window.opener.document.getElementById('PopObj2'); if (!obj2) { obj2 = window.opener.opener.document.getElementById('PopObj2'); } } if (obj2) { while (obj2.hasChildNodes()) { obj2.removeChild(obj2.firstChild); } try { obj2.appendChild(document.createTextNode('<%=nbFob2%>')); } catch (error) { try { obj2.appendChild(window.opener.document.createTextNode('<%=nbFob2%>')); } catch (error) { obj2.appendChild(window.opener.opener.document.createTextNode('<%=nbFob2%>')); } } } } catch (error) {} try { var obj3 = document.getElementById('PopObj3'); if (!obj3) { <%-- obj3 is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> obj3 = window.opener.document.getElementById('PopObj3'); if (!obj3) { obj3 = window.opener.opener.document.getElementById('PopObj3'); } } if (obj3) { while (obj3.hasChildNodes()) { obj3.removeChild(obj3.firstChild); } try { obj3.appendChild(document.createTextNode('<%=nbFob3%>')); } catch (error) { try { obj3.appendChild(window.opener.document.createTextNode('<%=nbFob3%>')); } catch (error) { obj3.appendChild(window.opener.opener.document.createTextNode('<%=nbFob3%>')); } } } } catch (error) {} try { var obj4 = document.getElementById('PopObj4'); if (!obj4) { <%-- obj4 is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> obj4 = window.opener.document.getElementById('PopObj4'); if (!obj4) { obj4 = window.opener.opener.document.getElementById('PopObj4'); } } if (obj4) { while (obj4.hasChildNodes()) { obj4.removeChild(obj4.firstChild); } try { obj4.appendChild(document.createTextNode('<%=nbFob4%>')); } catch (error) { try { obj4.appendChild(window.opener.document.createTextNode('<%=nbFob4%>')); } catch (error) { obj4.appendChild(window.opener.opener.document.createTextNode('<%=nbFob4%>')); } } } } catch (error) {} try { var obj5 = document.getElementById('PopObj5'); if (!obj5) { <%-- obj5 is maybe on the parent window : we want to refresh the synthesis window while adding/removing entries from an open selection popup --%> obj5 = window.opener.document.getElementById('PopObj5'); if (!obj5) { obj5 = window.opener.opener.document.getElementById('PopObj5'); } } if (obj5) { while (obj5.hasChildNodes()) { obj5.removeChild(obj5.firstChild); } try { obj5.appendChild(document.createTextNode('<%=nbFob5%>')); } catch (error) { try { obj5.appendChild(window.opener.document.createTextNode('<%=nbFob5%>')); } catch (error) { obj5.appendChild(window.opener.opener.document.createTextNode('<%=nbFob5%>')); } } } } catch (error) {}
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de