Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\marketing\support\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.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="java.util.Vector" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.SupportBean" id="Support" 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 id = Utils.getRequestParameter(context, request, "id"); String tailleTable=""; String id=""; tailleTable="50%"; String dayStr = " " + Utils.getMessage(session, "L609F", "jour(s)"); boolean hasAttachment = false; try{ if (Support.getSupAttID()!=null && Support.getSupAttID().size()>0) { hasAttachment = true; } }catch(Exception e){} try{ id = Support.getID(); }catch(FieldNotInitializedException e){ } String SupCtrID; try { SupCtrID = Support.getSupCtrID(); } catch (Exception e) { SupCtrID = ""; } %> <script type="text/javascript" language="javascript"> function doSubmit(){ var f = document.forms[0]; var SupWebVal = f.SupWeb.value; if (SupWebVal != null && SupWebVal.length > 0){ if (!checkUrl(SupWebVal)){ alert('<fl:getMessage code="L6633" alt="Veuillez vérifier l\'adresse de votre site web" js="true"/>'); f.SupWeb.focus(); return false; } } return true; } </script> <fl:form action="/save_support.fl" bean="Support"> <fl:bigTabs objectTitle="<%=Utils.getMessage(session, \"L638B\", \"Support\")%>" ou="<%= \"/read_support.fl?id=\" + id %>"> <table class="container" cellpadding="0"> <tr> <td colspan="3"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="labelTitreFiche"> <fl:label field="SupTitle" labelClassName="titreFiche"/> </td> <td class="fieldTitreFiche"> <fl:input property="SupTitle" mandatoryMsgCode="S002A" onblur="if (this.form.SupTitle.value == '') this.form.SupTitle.value = this.value;"/> </td> </tr> </table> </td> </tr> <tr><td colspan="3" class="ligne_separation"/></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldEdit property="SupEdiID" mandatoryMsgCode="L63FB" tabindex="999"/> <tr class="fieldline"> <td class="dataLabel" rowspan="5"><fl:label code="F2012"/></td> <td class="dataValue"><fl:input property="SupAd1"/></td> </tr> <tr class="fieldline"> <td class="dataValue"><fl:input property="SupAd2"/></td> </tr> <tr class="fieldline"> <td class="dataValue"><fl:input property="SupAd3"/></td> </tr> <tr class="fieldline"> <td class="dataValue"> <div class="fieldTable" > <table class="fieldTable" cellpadding="0"> <tr> <td class="smallFieldPart"><fl:input property="SupZip" size="5" width="auto" nodiv="true"/></td> <td class="bigFieldPart"><fl:input property="SupCity" onblur="this.value = checkString(this.value, 'upper');" nodiv="true"/></td> </tr> </table> </div> </td> </tr> <tr class="fieldline"> <td class="dataValue"><fl:input property="SupCtrID"/><input type="hidden" name="country" value="<%= SupCtrID %>"></td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldEdit property="SupPhone"/> <fl:fieldEdit property="SupFax"/> <fl:fieldEdit property="SupWeb"/> <tr> <td class="dataLabel"><fl:label code="F2059"/></td> <td id="SupLogoID_value" class="dataValue"> <div class="fieldTable" > <table class="fieldTable" cellpadding="0"> <tr> <td class="principalText"> <fl:attach name="Support" colID="SupLogoID" edit="true" allowedExtensions="'jpg', 'jpeg', 'png', 'gif'"/> </td> </tr> </table> </div> </td> </tr> <tr> <td class="dataLabel"><fl:label code="F205A"/></td> <td id="SupPlanID_value" class="dataValue"> <div class="fieldTable" > <table class="fieldTable" cellpadding="0"> <tr> <td class="principalText"> <fl:attach name="Support" colID="SupPlanID" edit="true" allowedExtensions="'jpg', 'jpeg', 'png', 'gif'"/> </td> </tr> </table> </div> </td> </tr> </table> </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="SupEdit"> <fl:sTab id="PROFILE" title="<%= Utils.getMessage(session, \"L2038\", \"Profil\") %>"> <fl:autodisplay name="Support" zone="SupportProfil" edit="true"/> </fl:sTab> <fl:sTab id="SUPPRICES" title="<%= Utils.getMessage(session, \"F2056\", \"Tarifs\") %>"> <table class="container" cellpadding="0"> <tr class="dataValue"> <td> <fl:input name="Support" property="SupPrices" nodiv="false"/> </td> </tr> </table> </fl:sTab> <fl:sTab id="SUPNEGOPRICES" title="<%= Utils.getMessage(session, \"F2057\", \"Tarifs Négociés\") %>"> <table class="container" cellpadding="0"> <tr class="dataValue"> <td> <fl:input name="Support" property="SupNegoPrices" nodiv="false"/> </td> </tr> </table> </fl:sTab> <fl:sTab id="ATTACHMENT" title="<%= Utils.getMessage(session, \"L201C\", \"Documents joints\") %>"> <fl:attach name="Support" colID="SupAttID" edit="true" listFobs="true"/> </fl:sTab> </fl:smallTabs> </fl:bigTabs> </fl:form> <% /****************************************************************************** * * * m.ichahane@e-deal.ma : 2006/08/31 16:57:20 : Mustapha * * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de