Edit C:\galaxie\Back\galaxie\netbusiness\origin\edit_log.jsp
<%@page import="java.util.Vector"%> <%@page import="com.edeal.frontline.SoftwareBean"%> <%@page import="java.util.Iterator"%><% /****************************************************************************** * 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. ******************************************************************************/ %> <%@ 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="com.edeal.frontline.PersonBean" %> <%@ page import="com.edeal.frontline.SilhouetteBean" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@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.OriginBean" id="Origin" 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(); String url = flRequest.getRequestParameterOrAttribute("url"); if (url != null && !"undefined".equals(url)) { Origin.setOriUrl(url); } Vector<SoftwareBean> software = context.getLicenceManager().getSoftwareBeans(); Iterator<SoftwareBean> iter = software.iterator(); String sfwID = null; while (iter.hasNext()) { SoftwareBean sfwBean = iter.next(); try { if ("NETBUS".equals(sfwBean.getSfwCode())) { sfwID = sfwBean.getSfwID(); } } catch (FieldNotInitializedException e) { } } %> <html> <head> <title><fl:getMessage code="L2025" alt="e-Deal"/></title> <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" type="text/css"> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/jsOnload.jsp"></script> <script type="text/javascript" src="<fl:link url="/js/ajax/ajax.js"/>"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/global_js.jsp"></script> <script type="text/javascript" src="<fl:link url="/js/edeal/libraries/jquery/jquery.js"/>"></script > <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></script> <script language="javascript"> function doSubmit() { var f = document.forms[0]; //f.$$returnedHtmlHead.value = '<scr' + 'ipt language=\"javascript\">window.opener.location=\'<fl:webapp/>/list_criteria.fl?lc=ORIGIN&SfwID=<%= sfwID %>\'; self.close();</scr' + 'ipt>'; f.$$returnedHtmlHead.value = '<scr' + 'ipt language=\"javascript\">window.opener.location=\'<fl:webapp/>/save_log_origin.fl?lc=OriginLog&SfwID=<%= sfwID %>\'; self.close();</scr' + 'ipt>'; return true; } </script> <body class="popup_body"> <fl:form action="/save_origin.fl" bean="Origin"> <input id="$$returnedHtmlHead" name="$$returnedHtmlHead" type="hidden" value=""> <input id="$$returnedHtmlBody" name="$$returnedHtmlBody" type="hidden" value="Closing..."> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L644E\", false, true, \"origine\") %>"> <table class="container" cellpadding="0" border="0"> <tr> <td class="titreFiche" colspan="3"> <table class="fieldline"> <td class="labelTitreFiche"><fl:label field="OriName" labelClassName="titreFiche"/></td> <td class="fieldTitreFiche"><fl:input property="OriName" mandatoryMsgCode="M60E0"/></td> </table> </td> </tr> <tr class="ligne_separation" colspan="3"><td></td></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldEdit property="OriUrl" mandatoryMsgCode="M60E1"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> </td> </tr> </table> </fl:bigTabs> </fl:form> <div align="center" style="margin-top: 5px;"> <a href="javascript:submit();"><img src="<fl:link url="/icons/ico/valid_green_long.gif"/>" border="0" alt="<fl:getMessage code="A2001" alt="Valider"/>" title="<fl:getMessage code="A2001" alt="Valider"/>"></a> <a href="javascript:self.close();"><img src="<fl:link url="/icons/ico/fermer_red_long.gif"/>" border="0" alt="<fl:getMessage code="L61B1" alt="Fermer la fenêtre"/>" title="<fl:getMessage code="L61B1" alt="Fermer la fenêtre"/>"></a> </div> <div id="waiting" style="display:none"><fl:getMessage code="L639B" alt="Chargement ..."/></div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de