Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\calcmethod\edit.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.Date" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.CalcMethodBean" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.CalcMethodBean" id="CalcMethod" 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 = CalcMethod.getID(); } catch (FieldNotInitializedException e) { } %> <script type="text/javascript" language="javascript"> function doSubmit() { checkCmeClass(); } function onCmeClassChecked(index) { hideWaiting(); if (eDealXmlhttpArr[index].readyState == 4) { var json = eDealXmlhttpArr[index].responseText; var check = eval('(' + json + ')'); var failure = check["failure"]; if (!failure) { presentFieldsValue(); document.forms[0].submit(); } else { alert("Nom de classe invalide: " + check["reason"]); } } } function checkCmeClass() { var url = "ajax_check_cme_class.fl?cmeClass="+$("#CmeClassName")[0].value; doAjax(url, onCmeClassChecked); } </script> <fl:form action="/save_calcmethod.fl" bean="CalcMethod"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"T0000\", false, true, \"Méthode de calcul\") %>" ou="<%= \"/edit_calcmethod.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td colspan="3"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="labelTitreFiche"> <fl:label field="CmeCode" labelClassName="titreFiche"/> </td> <td class="fieldTitreFiche"> <fl:input property="CmeCode" mandatoryMsgCode="T0013" alt="" /> </td> </tr> </table> </td> </tr> </table> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="CmeClassName" mandatoryMsgCode="MF00F" onblur="checkCmeClass();"/> </table> </td> <td class="separation"> <div class="separation"></div> </td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="CmeProvider"/> </table> </td> </tr> </table> </fl:bigTabs> </fl:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de