Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\returnedmailmodel\edit.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="\n"; DataDictionary dico = context.getDataDictionary(); 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(document.forms[0].RmmAddrLocation)"); </script> <fl:form action="/save_returnedmailmodel.fl" bean="ReturnedMailModel" multivalSeparator="<%= mvaSeparator %>"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"F619B\", \"Modèle de retour email\") %>" ou="<%= \"/edit_returnedmailmodel.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="labelTitreFiche"> <fl:label field="RmmName" labelClassName="titreFiche"/> </td> <td class="fieldTitreFiche"> <fl:input property="RmmName" mandatoryMsgCode="M60A2"/> </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:fieldEdit property="RmmCode" mandatoryMsgCode="M60E1"/> <fl:fieldEdit property="RmmPosition"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="RmmActive"/> <fl:fieldEdit property="RmmStatus"/> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <table class="container" cellpadding="0"> <tr><td class="dataLabel"><fl:label field="RmmMatchSubject"/></td></tr> <tr><td class="dataValue noPaddingLeft"> <textarea name="RmmMatchSubject" rows="3" style="width: 100%;"><fl:getProperty name="ReturnedMailModel" property="RmmMatchSubject" alt="" edit="true" separator="<%= mvaSeparator %>"/></textarea> </tr> <tr><td class="dataLabel"><fl:label field="RmmMatchText"/></td></tr> <tr><td class="dataValue noPaddingLeft"> <textarea name="RmmMatchText" rows="3" style="width: 100%;"><fl:getProperty name="ReturnedMailModel" property="RmmMatchText" alt="" edit="true" separator="<%= mvaSeparator %>"/></textarea> </tr> <tr><td class="dataLabel"><fl:label field="RmmMatchHeaders"/></td></tr> <tr><td class="dataValue noPaddingLeft"> <textarea name="RmmMatchHeaders" rows="3" style="width: 100%;"><fl:getProperty name="ReturnedMailModel" property="RmmMatchHeaders" alt="" edit="true" separator="<%= mvaSeparator %>"/></textarea> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> </table> <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:fieldEdit property="RmmAddrLocation" onchange="changeAddrLocation(this);"/> </table> </td> <td class="column2"> </td> </tr> <tr> <td class="column2"> <div id="email_loc_subject" class="invisible_on_load"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="RmmAddrTextPos" /> <fl:fieldEdit property="RmmAddrTextLast"/> </table> </div> <div id="email_loc_headers" class="invisible_on_load"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="RmmAddrHname"/> <tr><td colspan="2" class="dataLabel"><fl:label field="RmmAddrHeaders"/></td></tr> <tr><td colspan="2" class="dataValue noPaddingLeft"> <textarea name="RmmAddrHeaders" rows="3" style="width: 100%;"><fl:getProperty name="ReturnedMailModel" property="RmmAddrHeaders" alt="" edit="true" separator="<%= mvaSeparator %>"/></textarea> </td> </tr> </table> </div> </td> <td class="column2"> </td> </tr> </table> </fl:sTab> </fl:smallTabs> </fl:bigTabs> </fl:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de