Edit C:\galaxie\Back\galaxie\admin\site\read.jsp
<% /****************************************************************************** * Copyright (c) 2000-2006 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" import="com.edeal.frontline.*"%> <%@ page import="java.util.*" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <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 = Site.getID(); String sitZip = null; try{ sitZip = Site.getSitZip(); }catch(FieldNotInitializedException fnie){} String sitCity =null; try{ sitCity = Site.getSitCity(); }catch(FieldNotInitializedException fnie){} %> <script language="javascript"> function refreshActs() { _grid__SITACT_js_.render() } function doOnLoad() { refreshActs(); } </script> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/smalltabs_css.jsp"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"F2078\", false, true, \"Site\") %>" ou="<%= \"/read_site.fl?id=\" + Site.getID()%>"> <table class="container" cellpadding="0" width="100%"> <tr> <td colspan="5" class="titreFiche"><fl:getProperty name="Site" property="SitName" alt=" " /></td> </tr> <tr class="ligne_separation"><td></td></tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="SitCode"/> <%-- SitKosID is a reference table giving the type of the site. --%> <fl:fieldRead property="SitKosID"/> <tr class="fieldline"> <td id="Sit.Address_label" class="dataLabel"><fl:label code="F2012" label="Adresse"/></td> <td id="Sit.Address_value" class="dataValue"> <div> <fl:getProperty name="Site" property="SitAd1" alt="" postText="<br>"/> <fl:getProperty name="Site" property="SitAd2" alt="" postText="<br>"/> <fl:getProperty name="Site" property="SitAd3" alt="" postText="<br>"/> <fl:getProperty name="Site" property="SitZip" alt="" postText=" "/><fl:getProperty name="Site" property="SitCity" alt="" postText=""/><% try { Site.getSitZip(); Site.getSitCity(); %><br><% } catch(FieldNotInitializedException e) { try { Site.getSitCity(); %><br><% } catch (FieldNotInitializedException ex) {}} %> <fl:getProperty name="Site" property="SitCtrID" alt="" preText="<%= (sitZip!= null && sitCity == null) ? \"<br>\" : \"\"%>"/> </div> <div> </div> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="SitPhone" format="phone"/> <fl:fieldRead property="SitFax"/> <fl:fieldRead property="SitAreID"/> <fl:fieldRead property="SitActID" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_actor.fl\") %>"/> </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="SiteRead"> <% try { String picID = Site.getSitPicID(); %> <fl:sTab id="ACTORS" title="<%= Utils.getMessage(session, \"L607C\", \"Acteurs\") %>" onselect="refreshActs();"> <div> <fl:grid displayFirst="true" name="SITACT" ajaxUrl="<%= \"/embedded_list_ajax.fl?ActSitID=\" + id %>"/> </div> </fl:sTab> <fl:sTab id="PLAN" title="<%= Utils.getMessage(session, \"L6022\", \"Plan d'accès\") %>"> <div style="overflow: auto;"> <img src="<fl:webapp/>/download?id=<%= picID %>" width="100%"/> </div> </fl:sTab> <% } catch (FieldNotInitializedException fnie) { %> <fl:sTab hideLink="true" id="ACTORS" title="<%= Utils.getMessage(session, \"L607C\", \"Acteurs\") %>" onselect="refreshActs();"> <div> <fl:grid displayFirst="true" name="SITACT" ajaxUrl="<%= \"/embedded_list_ajax.fl?ActSitID=\" + id %>"/> </div> </fl:sTab> <% } %> <fl:sTab id="SITE1" title="<%= context.getAutoDisplayManager().getTitle(session, \"Site\", \"Site 1\") %>" visible="<%= context.getAutoDisplayManager().hasEntry(\"Site\", \"Site 1\") %>"> <fl:autodisplay name="Site" zone="Site 1"/> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de