Edit C:\galaxie\Back\galaxie\admin\matchcoderules\read.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" contentType="text/html; charset=UTF-8" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/smalltabs_css.jsp"> <jsp:useBean class="com.edeal.frontline.MatchCodeRulesBean" id="MatchCodeRules" 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 = MatchCodeRules.getID(); } catch (FieldNotInitializedException e) { } String objID = null; try { objID = MatchCodeRules.getMcrObjID(); } catch (FieldNotInitializedException e) { } %> <script language="javascript"> function refreshFields() { _grid__MCF_EMB_js_.render(); } function refreshTemplates() { _grid__MCO_EMB_js_.render(); } function doOnLoad() { refreshFields(); } function doReadField(id) { window.open('<fl:webapp/>/popup_matchcodefields.fl?id=' + id + '&mcrID=<%= id %>&objID=<%= MatchCodeRules.getMcrObjID()%>', 'Champs' , 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=no,width=650,height=250'); } function doDelField(id) { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>') == true) { doAjax("<fl:webapp/>/delete_object_ajax.fl?type=MatchCodeFields&id=" + id, fieldAjaxCallback); } } function fieldAjaxCallback(arrIndex) { if (eDealXmlhttpArr[arrIndex].readyState == 4) { hideWaiting(); eval(eDealXmlhttpArr[arrIndex].responseText); refreshFields(); } } function doDelTemplate(id) { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>') == true) { doAjax("<fl:webapp/>/delete_object_ajax.fl?type=MatchCodeTemplate&id=" + id, templateAjaxCallback); } } function templateAjaxCallback(arrIndex) { if (eDealXmlhttpArr[arrIndex].readyState == 4) { hideWaiting(); eval(eDealXmlhttpArr[arrIndex].responseText); refreshTemplates(); } } function doGenerateTemplates() { $.openPopupLayer({ name: "WaitingPopup", width: "auto", height: "auto", url: "<fl:webapp/>/waiting_operation_popup.fl", success : function() { $.ajax({ type: "POST", url: "<fl:webapp/>/generate_matchcode_templates.fl?objID=<%= objID %>", timeout: 20000, contentType: "application/json;charset=utf-8", dataType: 'json', success: analyseResponse }); } }); function analyseResponse(data) { if (data != null) { if (data.status == "OK") { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/success.png"); $("#detail_popup").html("<fl:getMessage code="M9039" alt="La génération des modèles s\\\'est terminé avec succes" js="true"/>"); } else if (data.status == "KO") { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/failure.png"); $("#detail_popup").html(""); $("#error_popup").html(decodeURIComponent(data.error)); } else { $("#waiting_popup").attr("src", "<fl:webapp/>/js/progressbar/images/failure.png"); } } } } </script> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L812B\", false, true, \"Détection de doublon\") + \":\" + Utils.getMessage(session, \"L60FB\", false, true, \"Règles\") %>" ou="<%= \"/read_matchcoderules.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0" width="100%"> <tr> <td colspan="5" class="titreFiche"> <fl:getProperty name="MatchCodeRules" property="McrObjID" bean="true" alt="" /> </td> </tr> <tr class="ligne_separation"><td colspan="5"></td></tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="McrSuspThreshold"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="McrCertThreshold"/> </table> </td> </tr> <tr class="ligne_separation"><td colspan="5"></td></tr> </table> <fl:smallTabs name="McrRead"> <fl:sTab id="MCF" title="<%= Utils.getMessage(session, \"L8129\", \"Champs\") %>" onselect="refreshFields();"> <fl:grid name="MCF_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?McfMcrID=\" + id %>"/> </fl:sTab> <fl:sTab id="MCO" title="<%= Utils.getMessage(session, \"L812D\", \"Modèles de matchecodes\") %>" onselect="refreshTemplates();"> <fl:grid name="MCO_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?McoObjID=\" + objID %>"/> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de