Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\fltask\log.jsp
<%@page import="com.edeal.frontline.tasks.FlTaskLogPoint"%> <% /****************************************************************************** * 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. ******************************************************************************/ %><%@ taglib uri="http://www.e-deal.com/taglib/ft" prefix="ft" %><%@page session="true" %><%@ page import="com.edeal.frontline.FlContext" %><%@ page import="com.edeal.frontline.DataDictionary" %><%@ page import="com.edeal.frontline.Utils" %><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@ page import="java.util.Vector" %><%@ page import="java.util.Iterator" %><%@ page import="java.text.SimpleDateFormat" %><%@ page import="java.util.GregorianCalendar" %><%@ page import="java.util.Calendar" %><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><%@ page isELIgnored="false"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><jsp:useBean class="com.edeal.frontline.FlTaskLogBean" id="FlTaskLog" 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(); DataDictionary dico = context.getDataDictionary(); String body = ""; try{ body = (String) FlTaskLog.getTslBody(); } catch(Exception e){} boolean finished = true; try{ finished = (String) FlTaskLog.getTslUnfinished() != null ? false : true; } catch(Exception e){} %> <html> <head> <title>Log</title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/master_css.jsp"> <script language="javascript" src="<fl:webapp/>/js/utils.js"></script> <script language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script language="javascript" src="<fl:webapp/>/js/calendar.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/sarissa.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/ajax.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/jsOnload.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/master_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></script> <script language="javascript"> function colorTab(){ $("#log tr:even").css("background-color", "#EBF4F6"); // if ($("#isfinished").val()=="false") // $("#log tr").css("background-color", "#FF0000"); } $(document).ready(colorTab); </script> </head> <body class="popup_body"> <div > <fl:bigTabs objectTitle="Log" ou="/annuaire.fl" height="90%" ignoreCriteria="true" ignoreList="true"> <link rel="stylesheet" type="text/css" href="/Head2/css/grid/grid_custom_styles.css"> <div class="edealGrid" style="edeal:v2010;width:100%;"> <div id="grid-data" class="data" ed:embedded="false" style=""> <c:set var="body" value="<%=body%>" /> <input type="hidden" id="isfinished" value="<%= finished %>"> <table cellpadding="0"> <thead> <tr> <th width="20%">Date</th> <th width="80%">Trace</th> </tr> </thead> <tbody id="log"> <c:forEach items="${fn:split(body,'$!$')}" var="log" > <c:choose> <c:when test="${ fn:startsWith(log, '#log#')}"> <tr class="odd bean" tabindex="1" > <c:set var="m" value="${ fn:split(fn:replace(log, '#log#', ''),'##') }"/> <td align="right"><ft:date>${m[0]}</ft:date></td> <td align="left">${m[1]}</td> </tr> </c:when> <c:when test="${ fn:startsWith(log, '#title#') }"> <tr class="odd bean" tabindex="1"> <c:set var="m" value="${ fn:replace(log, '#title#', '')}"/> <td align="right" colspan="2">STARTING ${m}</td> </tr> </c:when> <c:otherwise> <th class="odd bean" tabindex="1"> <td colspan="2">${log}</td> </th> </c:otherwise> </c:choose> </c:forEach> </tbody> </table> </div> </div> </fl:bigTabs> <table border="0" cellpadding="3" cellspacing="3" width="100%"> <tr class="ligne_separation"><td></td></tr> <tr valign="top"> <th class="titrePartie" colspan="4" style="text-align: center"> <a href="javascript:window.close()"><img src="<fl:webapp/>/icons/ico/fermer_red_long.gif" alt="<fl:getMessage code="A0007" alt="Supprimer"/>" border="0"></a> </th> </tr> </table> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de