Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\decision\decisiondata\use_maker.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.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.DecisionDataBean" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/format_tel.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:link url="/admin/site/site_js.jsp"/>"></script> <script language="javascript" type="text/javascript" src="<fl:webapp/>/js/smalltabs.jsp"></script> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/smalltabs_css.jsp"> <jsp:useBean class="com.edeal.frontline.DecisionDataBean" id="DecisionData" 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 id = null; try { id = DecisionData.getDdaID(); } catch (FieldNotInitializedException fniex) { // Je ne suis pas passé par load String code = Utils.getRequestParameter(context, request, "code"); String[][] query = {{"DdaCode = " + Utils.formatToSQL(context, code)}}; Vector list = null; try { list = DecisionDataBean.list(session, query); } catch (FrontlineException fex) { } if (list != null && !list.isEmpty()) { DecisionDataBean ddb = (DecisionDataBean) list.firstElement(); pageContext.setAttribute("DecisionData",ddb); } } //Login et password renseignés dans l'analyse s'il y en a String actLogin = ""; String actPwd = ""; try { actLogin = DecisionData.getDdaLogin(); actPwd = DecisionData.getDdaPwd(); } catch (FieldNotInitializedException fniex1) { } %> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L6436\", false, true, \"Analyse\") %>" ou="<%= \"/maker_decisiondata.fl?id=\"+id %>"> <applet code="jdiver.class" archive="<fl:webapp/>/decision/jdiver.jar" width=440 height=60> <param name="cabbase" value="<fl:webapp/>/decision/jdiver.cab"> <param name="server_string" value="<fl:getProperty name="DecisionData" property="DdaServer" alt=""/>"> <param name="model_name" value="<fl:getProperty name="DecisionData" property="DdaDivebook" alt=""/>"> <param name="default_dir" value="<fl:getProperty name="DecisionData" property="DdaDefaultDir" alt=""/>"> <% if (actLogin != "") { %> mavar=mavar+"<param name="+'"'+"username"+'"'+" value="+'"'+"<%=actLogin%>"+'"'+">" <% } %> <% if (actLogin != "" && actPwd != "") { %> mavar=mavar+"<param name="+'"'+"password"+'"'+" value="+'"'+"<%=actPwd%>"+'"'+">" <% } %> <h1>DI-WebDiver requires Java Support</h1> We're sorry, but you need a Java-enabled browser to use DI-WebDiver. <p> </applet> </fl:bigTabs> <% /****************************************************************************** * CVS Log File - This is no longer maintained! * * Revision 1.1 2004/07/23 18:20:20 brian * Initial Revision * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de