Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\snapshot\read.jsp
<%@page import="com.edeal.frontline.SnapshotBean"%> <%@page import="com.edeal.frontline.helper.BasicHelper"%> <%@page import="com.edeal.frontline.helper.custom.SnapshotHelper"%> <% /****************************************************************************** * 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.FlContext"%> <%@ page import="com.edeal.frontline.Utils"%> <%@ page import="com.edeal.frontline.FieldNotInitializedException"%> <%@ page import="com.edeal.frontline.DataDictionary"%> <%@ page import="java.util.Date"%> <%@ page import="java.util.Hashtable"%> <%@ page import="com.edeal.frontline.FrontlineException"%> <%@ page import="java.util.Vector"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%> <jsp:useBean class="com.edeal.frontline.SnapshotBean" id="Snapshot" 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(); SnapshotHelper helper = BasicHelper.factory(Snapshot); String id = null; try { id = Snapshot.getID(); } catch (FieldNotInitializedException e) { } try { Snapshot.setSnaAxis1Code(helper.displayName( flRequest.getSession(), Snapshot.getSnaAxis1Code())); } catch (FieldNotInitializedException e) { } try { Snapshot.setSnaAxis2Code(helper.displayName(flRequest.getSession(), Snapshot .getSnaAxis2Code())); } catch (FieldNotInitializedException e) { } try { Snapshot.setSnaAxis3Code(helper.displayName(flRequest.getSession(), Snapshot .getSnaAxis3Code())); } catch (FieldNotInitializedException e) { } Vector<SnapshotBean> otherSnaps = new Vector<SnapshotBean>(); try { String cmeId = Snapshot.getSnaCmeID(); String[][] params = new String[1][1]; params[0] = new String[] { "SnaCmeID='"+cmeId+"'" }; otherSnaps = Snapshot.list(context, params); } catch (FieldNotInitializedException e) { } String sfwID = flRequest.getParameter("SfwID"); %> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"T0001\", false, true, \"Indicateur\") %>" ou="<%= \"/read_snapshot.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td colspan="3" class="titreFiche"><fl:getProperty name="Snapshot" property="SnaName" alt=" " /></td> </tr> <tr class="ligne_separation"> <td colspan="3"></td> </tr> </table> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="SnaCmeID" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_calcmethod.fl\") %>"/> <fl:fieldRead property="SnaAxis1Code" bean="false" /> <fl:fieldRead property="SnaAxis2Code" bean="false" /> <fl:fieldRead property="SnaAxis3Code" bean="false" /> </table> </td> <td class="separation"> <div class="separation"></div> </td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="SnaFreq" bean="true" /> <fl:fieldRead property="SnaShsID" bean="true" /> <fl:fieldRead property="SnaTzoID" bean="true" /> <fl:fieldRead property="SnaLngID" bean="true" /> </table> </td> </tr> <tr class="ligne_separation"> <td></td> </tr> </table> <fl:notes name="SnaNotes" title="<%= Utils.getMessage(session, \"F2024\", \"Notes\") %>" nbPix="35"><fl:getProperty name="Snapshot" property="SnaNotes" alt=""/></fl:notes> <script language="javascript" type="text/javascript"> function refreshSdis() { _grid__SDI_EMB_js_.render(); } </script> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="mesSmallTabs"> <fl:sTab id="pmeth" title="<%= Utils.getMessage(session, \"T000F\", false, true, \"Paramètres de la méthode\") %>" visible="true"> <table class="container"> <fl:fieldRead property="SnaParams" bean="false" /> </table> </fl:sTab> <fl:sTab id="otherind" title="<%= Utils.getMessage(session, \"T0010\", false, true, \"Autres indicateurs\") %>" visible="true"> <p><%= Utils.getMessage(session, "T001E", false, true, "Nombre d'indicateurs utilisant la même méthode de calcul :") %> <%= otherSnaps.size() %></p> <ul> <% for (SnapshotBean s : otherSnaps) {%> <% if (!id.equals(s.getID())) { %> <li><a href="<fl:webapp/>/read_snapshot.fl?id=<%= s.getID() %>&SfwID=<%= sfwID %>"><%= s.getSnaName() %></a></li> <% } %> <% } %> </ul> </fl:sTab> <fl:sTab id="SDIS" onselect="refreshSdis();" title="<%= Utils.getMessage(session, \"T001A\", false, true, \"Graphiques\") %>" visible="true"> <fl:grid height="150px" name="SDI_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=SDI_EMB&SdiSnaID=\" + id %>"/> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de