Edit C:\galaxie\Back\galaxie\admin\snapshotpanel\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) { } %> <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" /> <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> <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, "L8260", false, true, "Cette méthode de calcul est utilisée par "+otherSnaps.size()+" indicateur(s).", new String[]{String.valueOf(otherSnaps.size())}) %></p> <ul> <% for (SnapshotBean s : otherSnaps) {%> <li><%= s.getSnaName() %></li> <% } %> </ul> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de