Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\actor\popup.jsp
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% /****************************************************************************** * Copyright (c) 2000-2005 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 session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.LinkedHashMap" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.Calendar" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="com.edeal.frontline.ActorBean" %> <%@ page import="com.edeal.frontline.grid.functions.FaqHeaderSyntaxActions" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.FAQBean" id="FAQ" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String width = "750"; //ajouter pour rendre le popup paramétrable dans le cas ou on veut réutiliser dans un autre traitement que l'envoi String function =(String) request.getParameter("function"); String json = flRequest.getRequestParameterOrAttribute("json"); %> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/utils.js"></script> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <style type="text/css"> .button { border-style: solid; border-width: 1px; border-color: rgb(132, 166, 174); font-weight: bold; font-size: 11px; padding: 3px; } .popup-div { /*width: 800px;*/ } .popup-header { height : 25px; } .popup-title { float : left; font-family : Arial,Verdana,sans-serif; font-size : 12px; color : #000000; font-weight : bold; padding-left: 4px; padding-right: 4px; padding-top : 2px; vertical-align: middle; letter-spacing: 1px; } .popup-header .close-link { float : right; } .popup-body { height: 100%; margin-right:210px; } .popup-content { height: 99%; margin-top: 5px; margin-bottom: 5px; } </style> <script type="text/javascript" language="javascript"> var deptsID = ''; var sumbitwithoutDelete = true; function doClosePopUp(){ $.closePopupLayer('WaitingPopup'); window.setInterval("goBack();", 100); } function doClosePopUp1(){ $.closePopupLayer('WaitingPopup'); window.parent.updateAndDeleteBeforeSumbit(deptsID, false, sumbitwithoutDelete, '<%= function%>'); } $(window).ready(displayDeptsAndActor); function displayDeptsAndActor(){ var actors = '<%=json.replace("'", "\\'")%>'; let actorsArr = JSON.parse(actors); if (actorsArr.length != 0) { document.getElementById('alertPopUp').style.display = ''; let msg = '<p>'; let output = document.getElementById('msgContent'); sumbitwithoutDelete = false; for (let i = 0; i < actorsArr.length; i++) { let actor = actorsArr[i]; msg += "<b>" + actor.Dept + "</b> existe chez <b>" + actor.actors + "</b><br>"; deptsID += actor.DeptID + "|"; } output.innerHTML = msg; }else{ window.parent.submit(); } } function goBack() { return; // window.location.reload(); } </script> <input id="status" type="hidden" value="" /> <table id="alertPopUp" cellspacing="0" border="0" style="display: none;"> <tr class="tooltip" height="10px"> <td class="corner" id="topleft" width="19px"><img src="<fl:webapp/>/icons/tooltip/bubble-1.png"/></td> <td class="top" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-2.png'); align: center"></td> <td class="corner" id="topright"><img src="<fl:webapp/>/icons/tooltip/bubble-3.png"/></td> </tr> <tr class="tooltip"> <td class="left" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-4.png');"></td> <td style="vertical-align: top;"> <table class="data_column, innerPopup" cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td nowrap="nowrap"> <div class="popup-div"> <div class="popup-content"> <table cellspacing="0" cellpadding="0" border="0" style="width: 500px; height: 200px"> <tr> <td id="msgContent"></td> </tr> <tr> <td><fl:getMessage code="MF206" alt="Voulez vous que l\'acteur ne sera pas traité ?"/></td> </tr> <tr style="height: 20px;"> <td colspan="5" style="text-align: center;"> <div id="popup_closer"> <a title="<fl:getMessage code="A3035" alt="Fermer"/>" href="javascript:doClosePopUp1();"> <img src="<fl:webapp/>/icons/ico/valid_green_long.gif" /> </a> <a title="<fl:getMessage code="A3035" alt="Fermer"/>" href="javascript:doClosePopUp();"> <img src="<fl:webapp/>/icons/ico/fermer_red_long.gif" /> </a> </div> </td> </tr> </table> </div> </div> </td> </tr> </table> </td> <td class="right" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-5.png')" width="19px"></td> </tr> <tr class="tooltip"> <td class="corner" id="bottomleft" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-6.png')" ></td> <td class="bottom" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-7.png')" width="30" height="20"></td> <td class="corner" id="bottomright" style="background-image:url('<fl:webapp/>/icons/tooltip/bubble-8.png')"></td> </tr> </table>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de