Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\automation\process\popup.jsp
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% /****************************************************************************** * Copyright (c) 2000-2013 e-Deal * * e-Deal S.A. * 41 rue Périer * 92120 Montrouge * France * * T : +33 (0)1 73 03 29 80 * 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.DataDictionary" %> <%@ page import="com.edeal.frontline.FieldBean" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.controller.actions.process.PrepareProcessToRunAction" %> <%@ page import="com.edeal.frontline.process.ProcessReturnStatus" %> <%@ 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 objectHtmlLink = (String) flRequest.getAttribute(PrepareProcessToRunAction.OBJECT_LINK); String processHtmlLink = (String) flRequest.getAttribute(PrepareProcessToRunAction.PROCESS_LINK); String correspondentsHtml = (String) flRequest.getAttribute(PrepareProcessToRunAction.CORR_HTML); String jsonString = (String) flRequest.getAttribute(PrepareProcessToRunAction.JSON_STR); String formIndex = (String) flRequest.getRequestParameterOrAttribute(PrepareProcessToRunAction.FORM_INDEX); if (formIndex == null) { formIndex = "0"; } String runType = (String) flRequest.getRequestParameterOrAttribute(PrepareProcessToRunAction.RUN_TYPE); %> <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"> .popup-div { /*width: 800px;*/ } .popup-content { height: 99%; margin-top: 5px; margin-bottom: 5px; } </style> <script type="text/javascript" language="javascript"> function validate() { var f = document.forms[<%= formIndex %>]; var instanceDate = f.Date$PriUpd.value; var instanceTime = f.Time$PriUpd.value; var urlAjax = '<fl:webapp/>/run_process.fl?instanceDate=' + instanceDate + '&instanceTime=' + instanceTime; <% if (runType != null) { %> urlAjax = urlAjax + '&runType=<%= runType %>'; <% } %> if ($("#warn") && $('#warn').is(':checked')) { urlAjax = urlAjax + "&warn=1"; } openPopupLayerWaiting('<%= jsonString %>', urlAjax, '', waitingPopupProcessStatus); } function waitingPopupProcessStatus(data) { if (data != null) { if (data.status == "<%= ProcessReturnStatus.OK.name() %>") { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/success.png"); $("#detail_popup").html(decodeURIComponent(data.detail)); } else if (data.status == "<%= ProcessReturnStatus.KO.name() %>") { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/failure.png"); $("#detail_popup").html(decodeURIComponent(data.detail)); $("#error_popup").html(decodeURIComponent(data.error)); } else { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/failure.png"); } } } </script> <table cellspacing="0" border="0"> <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: 700px; height: 200px"> <tr style="height: 43px;"> <td><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> <td width="98%" valign="top" colspan="3"> <table cellpadding="0" class="container" id="BTabs"> <tr> <td style="text-align: right; width: 15px;"><img style="width: 15px; height: 43px;" src="<fl:webapp/>/icons/nav/principal_onglet/ong_blanc_pos_1.gif"></td> <td class="ongletblanc"> <fl:getMessage code="L82D5" alt="Lancement de la procédure"/> </td> <td class="actif-fin"></td> <td style="width: 90%; text-align: right; background: url("<fl:webapp/>/icons/nav/principal_onglet/fd_cell.gif") repeat scroll 0% 0% transparent;" class="tabRightSpace"></td> <td class="finTab"> </td> </tr> </table> </td> <td width="10"><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> </tr> <tr style="height: 100%; "> <td width="10"><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> <td width="15" background="<fl:webapp/>/icons/nav/principal_cadre/fd_cell_g.gif"><img width="15" height="42" src="<fl:webapp/>/icons/spacer.gif"></td> <td style="vertical-align: top;"> <table class="container" cellspacing="0" cellpadding="0" border="0"> <% if (!"".equals(correspondentsHtml) && correspondentsHtml != null) { %> <tr class="fieldline"> <td class="dataLabel" style="padding-bottom: 3px;"> <fl:getMessage code="L82E0" alt="La procédure sera appliquée à"/> </td> <td class="dataValue" style="padding-bottom: 3px;"> <%= correspondentsHtml %> </td> </tr> <% } %> <tr class="fieldline"> <td class="dataLabel" style="padding-bottom: 3px;"> <fl:getMessage code="L82D9" alt="Les actions générées seront liées à"/> </td> <td class="dataValue" style="padding-bottom: 3px;"> <%= objectHtmlLink %> </td> </tr> <tr class="fieldline"> <td class="dataLabel" style="padding-bottom: 3px;"> <fl:getMessage code="L8309" alt="Procédure"/> </td> <td class="dataValue" style="padding-bottom: 3px;"> <%= processHtmlLink %> </td> </tr> <tr class="fieldline"> <td colspan="2" style="padding-bottom: 3px;"> <fl:getMessage code="L82D6" alt="Merci d\'indiquer une date de lancement de la procédure"/> </td> </tr> </table> <form id="frm"> <table class="container" cellspacing="0" cellpadding="0" border="0"> <tr class="fieldline"> <td id="RunDate_label" class="dataLabel"><div><fl:label code="L82D8" forInput="RunDate_value"/></div></td> <td id="RunDate_value" class="dataValue"><fl:input property="PriUpd" formIndex="<%= formIndex %>" autocomplete="false" nodiv="true"/></td> </tr> <% if (runType != null && "BULK".equalsIgnoreCase(runType)) { %> <tr class="fieldline"> <td colspan="2" style="padding-bottom: 3px;"> <input type="checkbox" name="warn" value="" id="warn"><fl:getMessage code="F61ED" alt="M\'avertir lorsque la génération sera terminée"/> </td> </tr> <% } %> </table> </form> </td> <td width="15" background="<fl:webapp/>/icons/nav/principal_cadre/fd_cell_d.gif"><img width="15" height="42" src="<fl:webapp/>/icons/spacer.gif"></td> <td width="10"><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> </tr> <tr style="height: 15px;"> <td width="10"><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> <td width="15"><img width="15" height="15" src="<fl:webapp/>/icons/nav/principal_cadre/cell_bas_g.gif"></td> <td width="98%" background="<fl:webapp/>/icons/nav/principal_cadre/fd_cell_bas_m.gif"><img width="15" height="15" src="<fl:webapp/>/icons/spacer.gif"></td> <td width="15"><img width="15" height="15" src="<fl:webapp/>/icons/nav/principal_cadre/cell_bas_d.gif"></td> <td width="10"><img width="10" height="10" src="<fl:webapp/>/icons/spacer.gif"></td> </tr> <tr style="height: 20px;"> <td colspan="5" style="text-align: center;"> <div> <a href="#" title="<fl:getMessage code="A2001" alt="Valider"/>" onclick="javascript:validate();"><img src="<fl:link url="/icons/ico/valid_green_long.gif"/>"></a> <a title="<fl:getMessage code="A3035" alt="Fermer"/>" href="javascript:doClosePopUp('PopupLayer');"><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