Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\fltask\execute.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 session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.ActorBean" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Date" %> <%@ page import="java.text.DateFormat" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.PopulationBean" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean id="Messages" class="com.edeal.frontline.MessagesBean" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String id = flRequest.getRequestParameterOrAttribute("id"); FlLocale locale = (FlLocale)session.getAttribute("FlLocale"); DateFormat df = locale.getDateTimeFormat(true); String actualDate = df.format(new Date()); %> <html> <head> <title><fl:getMessage code="L2025" alt="E-DEAL"/></title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <link rel="stylesheet" href="<fl:webapp/>/css/master_css.jsp" type="text/css"> <style type="text/css"> #container { width: 80%; margin-left: 0%; margin-top: 0px;} </style> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/ajax.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/sarissa.js"></script> <script type="text/javascript" src="<fl:webapp/>/js/edeal/libraries/jquery/jquery.js"></script> <script type="text/javascript"> function getStatus(){ $.ajax({ url: '<fl:webapp/>/get_fltask_status.fl?id=<%=id%>&date=<%=actualDate%>', success: function(data) { try { var result = eval('(' + data + ')'); } catch(err) { setTimeout("finish_failure('Unknown error');",3000);return false; } if(typeof(result) == "undefined"){ }else if (result.STATUS == 'OK'){ setTimeout("finish_success('"+result.MESSAGE+"');",3000);return false; }else if (result.STATUS == 'KO') { setTimeout("finish_failure('"+result.MESSAGE+"');",3000);return false; endedWithError = true; }else if (result.STATUS == 'UNKNOWN') { setTimeout("getStatus();",1000);return false; } } }); } function finish_failure(error){ setTimeout(function() { $('#container').html('<img src="<fl:webapp/>/js/progressbar/images/failure.png" title="'+error+'"/>'); ;},1000); refreshParent(); } function finish_success(msg){ setTimeout(function() { $('#container').html('<img src=<fl:webapp/>/js/progressbar/images/success.png title="'+msg+'"/>'); ;},1000); refreshParent(); } function refreshParent(){ window.opener.refreshLogs(); window.opener.focus(); window.opener.swapSmallTabs('TskEdit', 'in', 1); window.opener.selectSmallTab('TskEdit', 1); window.top.focus(); } setTimeout("getStatus();", 1000); </script> </head> <body style="overflow: hidden;"> <div id="object_css" style="top:0px; left: 0px; padding-top: 10px; height:100%;"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L606F\", false, true, \"Tâche planif.\") %>" ignoreList="true" ignoreCriteria="true"> <table class="container" cellpadding="0"> <tbody> <tr class="fieldline"> <td class="dataValue"> <fl:getMessage code="L6073" alt="Demande d\'exécution envoyée."/> <br> <fl:getMessage code="L6074" alt="Une entrée sera ajoutée au journal des exécutions..."/> <br> <div id="container" align="center;"> <img id="waiting_popup" src="<fl:webapp/>/icons/dico-loader.gif"/> </div> </td> </tr> <tr class="ligne_separation"> <td colspan="2"></td> </tr> </tbody> </table> </fl:bigTabs> <br> <div align="center"> <a href="#" onclick="self.close();"><img src="<fl:link url="/icons/ico/fermer_red_long.gif"/>" border="0" alt="<fl:getMessage code="L61B1" alt="Fermer la fenêtre"/>" title="<fl:getMessage code="L61B1" alt="Fermer la fenêtre"/>"></a> </div> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de