Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\navigation\dashboard\gridPages\commrate_dash.jsp
<% /****************************************************************************** * Copyright (c) 2000-2011 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 language="java" contentType="text/html; charset=UTF-8" %> <%@ page import="com.edeal.frontline.dashboard.DashboardPage, com.edeal.frontline.navigation.FlRequest, com.edeal.frontline.ofcgraphs.OfcGraphTag, com.edeal.frontline.ofcgraphs.OfcBarLineGraphEntryTag.OfcBarLineGraphType, com.edeal.frontline.ofcgraphs.OfcBarLineGraphTag.OFCXAxisLabelOrientation, com.edeal.frontline.ofcgraphs.OfcBarLineGraphTag.OFCYAxisDataAttachment, com.edeal.frontline.DataDictionary, com.edeal.frontline.Utils" %> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% FlRequest flRequest = new FlRequest(request); String code = (String)flRequest.getAttribute("lc"); String hidePage = flRequest.getRequestParameterOrAttribute("hidePage"); if (hidePage == null) hidePage = "true"; %><html> <head> <base target="_parent"/> <link rel="stylesheet" href="<fl:webapp/>/css/common_css.jsp" type="text/css"> <link rel="stylesheet" href="<fl:webapp/>/css/tooltip.css" type="text/css"> <link rel="stylesheet" href="<fl:webapp/>/css/master_css.jsp?sfwCode=SALES" type="text/css"/> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></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/master_js.jsp"></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/utils.js"></script> <script type="text/javascript" language="javascript"> var curIdx = 0; function showGraphTabLocal(tabIdx) { var p; if (window.frameElement) p = window.frameElement.contentWindow.document; else p = document; curIdx = curIdx + tabIdx; if (curIdx < 0) curIdx = 2; if (curIdx > 2) curIdx = 0; var graphDiv = p.getElementById('serviceGraphVal'); graphDiv.style.display = (curIdx == 0 ? 'block' : 'none'); graphDiv = p.getElementById('serviceGraphVol'); graphDiv.style.display = (curIdx == 1 ? 'block' : 'none'); graphDiv = p.getElementById('commrateGrid'); graphDiv.style.display = (curIdx == 2 ? 'block' : 'none'); var graphTextSpan = p.getElementById('ofcGraphText'); switch (curIdx) { case 0: graphTextSpan.innerHTML = '<%= Utils.getMessage(session, "M6133", true, "En valeur") %>'; break; case 1: graphTextSpan.innerHTML = '<%= Utils.getMessage(session, "M6132", true, "En volume") %>'; break; case 2: graphTextSpan.innerHTML = ''; break; } } function openWindowFromIFrame(url) { window.parent.location = url; } function doOnLoad(){ _grid__<%= code %>_js_.render() } </script> <style> .clickableIcon { cursor: pointer; } </style> </head> <body> <div id="serviceGraphVal" style="height: 90%;"> <center> <fl:ofcBarLineGraph dataURL="/displayCSRGraph.fl?csrType=Val" name="serviceGraphVal" noIframe="true" height="90%" width="100%" xLabelOrientation="<%= OFCXAxisLabelOrientation.DIAG %>" xLabelSize="10" yAxisLegend="EUR" yAxisLegendSize="10" yRightAxisLegend="<%= Utils.getMessage(session, \"F610B\", true, \"Pourcent\") %>" yRightAxisLegendSize="10" yRightAxisMax="100" yRightAxisMin="0"> <fl:ofcBarLineGraphEntry legend="<%= Utils.getMessage(session, \"M612B\", true, \"CA gagné\") %>" legendSize="10" numberFormat="<%= OfcGraphTag.OFCGraphNumberFormat.CURR %>" type="<%= OfcBarLineGraphType.BAR %>"/> <fl:ofcBarLineGraphEntry legend="<%= Utils.getMessage(session, \"M6130\", true, \"CA perdu\") %>" legendSize="10" numberFormat="<%= OfcGraphTag.OFCGraphNumberFormat.CURR %>" type="<%= OfcBarLineGraphType.BAR %>"/> <fl:ofcBarLineGraphEntry axis="<%= OFCYAxisDataAttachment.RIGHT %>" legend="<%= Utils.getMessage(session, \"M6128\", true, \"Réussite\") %>" legendSize="10" type="<%= OfcBarLineGraphType.LINE %>"/> </fl:ofcBarLineGraph> </center> </div> <div id="commrateGrid" style="display:none; height: 90%;"> <fl:grid name="<%= code %>" displayFirst="true" height="90%" width="100%" ajaxUrl="<%= \"/dash_commsuccessrate_ajax.fl?lc=\"+code %>" hidePage="<%= hidePage %>"> <fl:gridColumn pos="0" width="15%"/> <fl:gridColumn pos="1" width="8%"/> <fl:gridColumn pos="2" width="12%"/> <fl:gridColumn pos="3" width="8%" posttext=" %"/> <fl:gridColumn pos="4" width="8%" posttext=" %"/> </fl:grid> </div> <div id="serviceGraphVol" style="display:none; height: 90%;"> <center> <fl:ofcBarLineGraph dataURL="/displayCSRGraph.fl?csrType=Vol" height="90%" name="serviceGraphVol" noIframe="true" width="100%" yAxisLegend="<%= Utils.getMessage(session, \"F6110\", true, \"Nombre\") %>" xLabelOrientation="<%= OFCXAxisLabelOrientation.DIAG %>" xLabelSize="10" yAxisLegendSize="10" yRightAxisLegend="<%= Utils.getMessage(session, \"F610B\", true, \"Pourcent\") %>" yRightAxisLegendSize="10" yRightAxisMax="100" yRightAxisMin="0"> <fl:ofcBarLineGraphEntry legend="<%= Utils.getMessage(session, \"M6129\", true, \"Nb. gagné\") %>" legendSize="10" type="<%= OfcBarLineGraphType.BAR %>" /> <fl:ofcBarLineGraphEntry legend="<%= Utils.getMessage(session, \"L65FC\", true, \"Nb. abouties\") %>" legendSize="10" type="<%= OfcBarLineGraphType.BAR %>"/> <fl:ofcBarLineGraphEntry axis="<%= OFCYAxisDataAttachment.RIGHT %>" legend="<%= Utils.getMessage(session, \"M6128\", true, \"Réussite\") %>" legendSize="10" type="<%= OfcBarLineGraphType.LINE %>"/> </fl:ofcBarLineGraph> </center> </div> <table width="100%" style="padding-top:10px;"> <tr> <td align="center" style="text-align: center" width="100%"> <img class="clickableIcon" onClick="showGraphTabLocal(-1);" src="<fl:webapp/>/icons/ico/flecheG.gif"> <div style="display: inline;"> <span id="ofcGraphText" class="dataLabel" style="vertical-align: top;"><%= Utils.getMessage(session, "M6133", true, "En valeur") %></span> </div> <img class="clickableIcon" onClick="showGraphTabLocal(1);" src="<fl:webapp/>/icons/ico/flecheD.gif"> </td> </tr> </table> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de