Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\referential\edit_tables.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" contentType="text/html; charset=UTF-8"%> <%@ 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.Date" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.TablesBean" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.TablesBean" id="Tables" 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(); DataDictionary dico = context.getDataDictionary(); String id = null; try { id = Tables.getID(); } catch (FieldNotInitializedException fnie) { } boolean isCreate = id == null; String action = (isCreate ? "/save_new_tables.fl" : "/save_tables.fl"); %> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/master_css.jsp"> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/master_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/sarissa.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/ajax.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/utils.js"></script> <script type="text/javascript" language="javascript"> var type = "0"; function doSubmit() { var f = document.forms[0]; if (f.TabRadical.value != '') { var firstChar = f.TabRadical.value.charAt(0); if (firstChar > 'a' && firstChar <'z') { alert('<fl:getMessage code="M9020" alt="La première lettre du radical doit être en majuscule" js="true"/>'); f.TabRadical.focus(); return; } } return true; } function create() { var f = document.forms[0]; if (f.id && f.id.value) { f.$$returnedHtmlHead.value = '<scr' + 'ipt language="javascript" type="text/javascript">window.opener.refreshList();self.close();</scr'+ 'ipt>'; } else { f.$$returnedHtmlHead.value = '<scr' + 'ipt language="javascript" type="text/javascript">window.opener.location = window.opener.location;self.close();</scr'+ 'ipt>'; } submit(); } </script> </head> <body> <div id="object_css" style="top:0px;left: 0px;height:100%;"> <fl:form action="<%= action %>" bean="Tables"> <input id="$$returnedHtmlHead" name="$$returnedHtmlHead" type="hidden" value=""> <input id="$$returnedHtmlBody" name="$$returnedHtmlBody" type="hidden" value="Closing..."> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L6427\", false, true, \"Valeur de référence\") %>" ou="<%= \"/edit_refvalue.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr> <td class="titreFiche"> <% if (isCreate) { %> <fl:getMessage code="L6433" alt="Création d\'une table de référence"/> <% } else { %> <fl:getMessage code="L6434" alt="Edition d\'une table de référence"/> <% } %> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr> <td class="dataValue" style="vertical-align:top; width: auto;"> <div style="width: auto; overflow: auto;"> <table class="container" cellpadding="1" style="border-collapse: collapse;"> <fl:fieldEdit property="TabName" width="100%" mandatoryMsgCode="M6036"/> <fl:fieldEdit property="TabRadical" mandatoryMsgCode="M6037" unicityMsgCode="M6039"/> <fl:fieldEdit property="TabT1" width="100%"/> <fl:fieldEdit property="TabT2" width="100%"/> <fl:fieldEdit property="TabT3" width="100%"/> <fl:fieldEdit property="TabN1" width="100%"/> <fl:fieldEdit property="TabN2" width="100%"/> <fl:fieldEdit property="TabN3" width="100%"/> <fl:fieldEdit property="TabD1" width="100%"/> <fl:fieldEdit property="TabD2" width="100%"/> <fl:fieldEdit property="TabD3" width="100%"/> </table> <br/> </div> </td> </tr> </table> </fl:bigTabs> </fl:form> <div style="width: 100%;text-align: center;"> <a href="javascript:create()" title="<fl:getMessage code="A2001" alt="Valider"/>"><img src="<fl:link url="/icons/ico/valid_green_long.gif"/>"></a> <a href="javascript:window.top.close();" title="<fl:getMessage code="A2002" alt="Annuler"/>"><img src="<fl:link url="/icons/ico/fermer_red_long.gif"/>"></a> </div> </div> <fl:title name="Tables"/> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de