Edit C:\galaxie\Back\galaxie\admin\site\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" %> <%@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.SiteBean" id="Site" 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 = null; try { id = Site.getID(); } catch (FieldNotInitializedException fnie) { } String SitCtrID; try { SitCtrID = Site.getSitCtrID(); } catch (Exception e) { SitCtrID = ""; } %> <script type="text/javascript" language="javascript"> function doSubmit() { //Here you can add your controls return true; } </script> <fl:form action="/save_site.fl" bean="Site"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"F2078\", false, true, \"Site\") %>" ou="<%= \"/read_site.fl?id=\" + id %>"> <table class="container" cellpadding="0"> <tr> <td colspan="5"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="labelTitreFiche"> <fl:label field="SitName" labelClassName="titreFiche"/> </td> <td class="fieldTitreFiche"> <fl:input property="SitName" mandatoryMsgCode="M60A2"/> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="SitCode" mandatoryMsgCode="M60BE" unicityMsgCode="M60CE"/> <%-- SitKosID is a reference table giving the type of the site. --%> <fl:fieldEdit property="SitKosID" alt=""/> <tr class="fieldline"> <td class="dataLabel" rowspan="5"><fl:label code="F2012"/></td> <td class="dataValue"><fl:input property="SitAd1"/></td> </tr> <tr class="fieldline"> <td class="dataValue"><fl:input property="SitAd2"/></td> </tr> <tr class="fieldline"> <td class="dataValue"><fl:input property="SitAd3"/></td> </tr> <tr class="fieldline"> <td class="dataValue"> <div class="fieldTable" > <table class="fieldTable" cellpadding="0"> <tr> <td class="smallFieldPart"><fl:input property="SitZip" size="5" width="auto" nodiv="true"/></td> <td class="bigFieldPart"><fl:input property="SitCity" onblur="this.value = checkString(this.value, 'upper');" nodiv="true"/></td> </tr> </table> </div> </td> </tr> <tr class="fieldline"> <td class="dataValue"> <fl:input property="SitCtrID"/><input type="hidden" name="country" value="<%= SitCtrID %>"> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldEdit property="SitPhone"/> <fl:fieldEdit property="SitFax"/> <fl:fieldEdit property="SitAreID"/> <fl:fieldEdit property="SitActID"/> <tr class="fieldline"> <td class="dataLabel"> <fl:label code="L6022"/> </td> <td class="dataValue"> <div class="fieldTable" > <table class="fieldTable" cellpadding="0"> <tr> <td class="principalText"> <fl:attach name="Site" colID="SitPicID" allowedExtensions="'jpg', 'jpeg', 'png', 'gif'"/> </td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td colspan="3"> </td></tr> </table> <fl:autodisplay name="Site" zone="Site 1" edit="true"/> </fl:bigTabs> </fl:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de