Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\returnedmailmodel\read.jsp
<% /****************************************************************************** * 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.navigation.*" %> <%@ page import="com.edeal.frontline.*" %> <%@ page import="com.edeal.frontline.Utils" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.ReturnedMailModelBean" id="ReturnedMailModel" 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(); char _crlf=65; String mvaSeparator=String.valueOf(_crlf); mvaSeparator=";"; DataDictionary dico = context.getDataDictionary(); String addrLocation=""; try { addrLocation = ReturnedMailModel.getRmmAddrLocation(); } catch (Exception e) {} String id = null; try { id = ReturnedMailModel.getID(); } catch (FieldNotInitializedException e) { } %> <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"> <style> .invisible_on_load { visibility:hidden; } </style> <script language="JavaScript"> function js_hide(elname) { if (e=document.getElementById(elname)) { e.style.visibility="hidden"; } } function js_show(elname) { if (e=document.getElementById(elname)) { e.style.visibility="visible"; } } function changeAddrLocation(element) { value=(element.value?element.value:element); if (element) { if (value=='<%=dico.getRefIdByCode("RmmAddrLocation","SENDER")%>') { js_hide("email_loc_subject"); js_hide("email_loc_headers"); } else if (value=='<%=dico.getRefIdByCode("RmmAddrLocation","SUBJECT")%>') { js_show("email_loc_subject"); js_hide("email_loc_headers"); } else if (value=='<%=dico.getRefIdByCode("RmmAddrLocation","TEXT")%>') { js_show("email_loc_subject"); js_hide("email_loc_headers"); } else if (value=='<%=dico.getRefIdByCode("RmmAddrLocation","HEADER")%>') { js_hide("email_loc_subject"); js_show("email_loc_headers"); } } } jsOnload.add("changeAddrLocation('<%=addrLocation%>')"); </script> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"F619B\", \"Modèle de retour email\") %>" ou="<%= \"/read_returnedmailmodel.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="titreFiche"> <fl:getProperty name="ReturnedMailModel" property="RmmName" alt=""/> </td> </tr> <tr><td colspan="5" class="ligne_separation"/></tr> </table> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="RmmCode"/> <fl:fieldRead property="RmmPosition"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="RmmActive"/> <fl:fieldRead property="RmmStatus"/> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <fl:notes name="RmmMatchSubject" title="RmmMatchSubject"><fl:getProperty name="ReturnedMailModel" property="RmmMatchSubject" alt=" " edit="false" separator="<br>" /></fl:notes> <fl:notes name="RmmMatchText" title="RmmMatchText"><fl:getProperty name="ReturnedMailModel" property="RmmMatchText" alt=" " edit="false" separator="<br>" /></fl:notes> <fl:notes name="RmmMatchHeaders" title="RmmMatchHeaders"><fl:getProperty name="ReturnedMailModel" property="RmmMatchHeaders" alt=" " edit="false" separator="<br>" /></fl:notes> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="CriteriaTable"> <fl:sTab id="EmailLoc" title="Localisation adresse email"> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="RmmAddrLocation"/> </table> </td> </tr> <tr> <td class="column2"> <div id="email_loc_subject" class="invisible_on_load"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="RmmAddrTextPos" /> <fl:fieldRead property="RmmAddrTextLast" valueCodeIfTrue="L2005" valueCodeIfFalse="L2006"/> </table> </div> <div id="email_loc_headers" class="invisible_on_load"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="RmmAddrHname"/> <fl:fieldRead name="ReturnedMailModel" property="RmmAddrHeaders" alt=" " edit="false" separator="<br>" /> </table> </div> </td> </tr> </table> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de