Edit C:\galaxie\Back\galaxie\sales\enterprise\matchcode.jsp
<%-- /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ --%><%@ page language="java" contentType="text/plain;charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="java.util.Vector" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String id = flRequest.getRequestParameterOrAttribute("EntID"); Vector list = (Vector)flRequest.getAttribute("listEnterprise"); if (list != null && list.size() > 0) { %> msgWindow = window.open('','audit','menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=600,height=400,screenX=80,screenY=10'); msgWindow.document.write('<html><head><title><fl:getMessage code="L3072" alt="Audit de similitude" js="true"/></title>'); msgWindow.document.write('<link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp">'); msgWindow.document.write('<link rel="stylesheet" href="<fl:webapp/>/css/master_css.jsp" type="text/css">'); msgWindow.document.write('</head>'); msgWindow.document.write('<body style="padding-right: 10px">'); msgWindow.document.write('<div id="object_css" style="top:0px;left: 0px;height:100%;">'); msgWindow.document.write('<table class="container" cellpadding="0"><tr>'); msgWindow.document.write('<td class="margegauche"><div class="margegauche"></div></td>'); msgWindow.document.write('<td class="bodycell"><table class="container" cellpadding="0"><tr>'); msgWindow.document.write('<td style="width: 1%;text-align: right"><img src="<fl:webapp/>/icons/nav/principal_onglet/ong_blanc_pos_1.gif" style="width: 15px; height: 43px"></td>'); msgWindow.document.write('<td class="ongletblanc"><fl:getMessage code="L3073" alt="Attention" js="true"/> </td>'); msgWindow.document.write('<td style="width: 1%"><img src="<fl:webapp/>/icons/nav/principal_onglet/ong_blanc_fin.gif" style="width: 36px; height: 43px"></td>'); msgWindow.document.write('<td style="width: 90%; text-align: right; background: transparent url(<fl:webapp/>/icons/nav/principal_onglet/fd_cell.gif)"></td>'); msgWindow.document.write('<td style="width: 1%"><img src="<fl:webapp/>/icons/nav/principal_onglet/fin_tab.gif" style="width: 15px; height: 43px"></td>'); msgWindow.document.write('</tr></table>'); msgWindow.document.write('<table class="container" cellpadding="0"><tr>'); msgWindow.document.write('<td id="fond_cell_gauche"> </td>'); msgWindow.document.write('<td id="content_cell"><table class="container" cellpadding="0">'); msgWindow.document.write('<tr><td class="dataValue" style="vertical-align:top; width: 60%; padding-left: 10px;">'); msgWindow.document.write('<fl:getMessage code="L306D" alt="E-DEAL CRM a trouvé une fiche qui pourrait correspondre à la société que vous êtes en train de créer/modifier." js="true"/>'); msgWindow.document.write('</td></tr>'); msgWindow.document.write('<tr><td class="dataValue" style="vertical-align:top; width: 60%; padding-left: 10px;">'); msgWindow.document.write('<p><fl:getMessage code="L306E" alt="Vous pouvez:" js="true"/></p>'); msgWindow.document.write('</td></tr>'); msgWindow.document.write('</table>'); msgWindow.document.write('<table class="container" cellpadding="0" style="margin-left:10px;">'); msgWindow.document.write('<tr class="ligne_separation"><td></td></tr>'); msgWindow.document.write('<tr><td class="titrePartie">'); msgWindow.document.write('1. <fl:getMessage code="L306F" alt="Voir la fiche" js="true"/>'); msgWindow.document.write('</td></tr>'); msgWindow.document.write('<tr><td class="dataValue"><table class="container">'); <% for (int i = 0; i < list.size(); i++) { Hashtable currEnreg = (Hashtable) list.elementAt(i); %> msgWindow.document.write('<tr>'); msgWindow.document.write('<td class="dataValue" style="width: 33%">- <a href="javascript:void(window.open(\'<fl:link url="<%= \"/read_enterprise.fl?id=\" + currEnreg.get(\"EntID\") %>"/>\', \'VisuSocIdent\'));"><%= Utils.formatToJavascript((String)currEnreg.get("EntCorpName")) %></a></td>'); msgWindow.document.write('<td class="dataValue" style="width: 33%"><%= Utils.formatToJavascript((String)currEnreg.get("EntPhone")) %></td>'); msgWindow.document.write('<td class="dataValue" style="width: 33%"><%= Utils.formatToJavascript((String)currEnreg.get("EntAd1")) %> - <%= Utils.formatToJavascript((String)currEnreg.get("EntZip")) %> <%= Utils.formatToJavascript((String)currEnreg.get("EntCity")) %></td>'); msgWindow.document.write('</tr>'); <% } %> msgWindow.document.write('</table></td></tr>'); msgWindow.document.write('<tr class="ligne_separation"><td></td></tr>'); msgWindow.document.write('<tr class="ligne_separation_couleur"><td></td></tr>'); msgWindow.document.write('<tr class="ligne_separation"><td></td></tr>'); msgWindow.document.write('<tr><td class="titrePartie">'); msgWindow.document.write('2. <fl:getMessage code="L3070" alt="Basculer vers la fiche" js="true"/>'); msgWindow.document.write('</td></tr>'); msgWindow.document.write('<tr><td class="dataValue"><table class="container">'); <% for (int i = 0; i < list.size(); i++) { Hashtable currEnreg = (Hashtable)list.elementAt(i); %> msgWindow.document.write('<tr>'); msgWindow.document.write('<td class="dataValue" style="width:100%">- '); msgWindow.document.write('<a href=""><a href="javascript:void(window.opener.location = \'<fl:link url="<%= \"/edit_enterprise.fl?id=\" + currEnreg.get(\"EntID\") %>"/>\'); window.close();"><%= Utils.formatToJavascript((String)currEnreg.get("EntCorpName"))%></a></a>'); msgWindow.document.write('</td>'); msgWindow.document.write('</tr>'); <% } %> msgWindow.document.write('</table></td></tr>'); msgWindow.document.write('<tr class="ligne_separation"><td></td></tr>'); msgWindow.document.write('<tr class="ligne_separation_couleur"><td></td></tr>'); msgWindow.document.write('<tr class="ligne_separation"><td></td></tr>'); msgWindow.document.write('<tr><td class="titrePartie">'); msgWindow.document.write('3. <fl:getMessage code="L3071" alt="Continuer la saisie" js="true"/>'); msgWindow.document.write('</td></tr>'); msgWindow.document.write('<tr><td class="dataValue"><table class="container">'); msgWindow.document.write('<tr><td class="dataValue" style="width: 100%">- <a href="javascript:self.close();">'); msgWindow.document.write('<fl:getMessage code="L6381" alt="Ignorer" js="true"/>'); msgWindow.document.write('</a></td></tr>'); msgWindow.document.write('</table></td></tr>'); msgWindow.document.write('</td></tr></table></td>'); msgWindow.document.write('<td id="fond_cell_droite"> </td></tr>'); msgWindow.document.write('<tr><td id="cell_bas_gauche"> </td><td id="cell_bas_milieu"> </td><td style="vertical-align: top"><div id="cell_bas_droite"> </div></td></tr>'); msgWindow.document.write('</table>'); msgWindow.document.write('</td><td class="margegauche"><div class="margegauche"></div></td></tr></table></div></body></html>'); msgWindow.document.close(); <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de