Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\dashboard\edit.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" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException, com.edeal.frontline.Utils, com.edeal.frontline.dashboard.DashboardPage, com.edeal.frontline.helper.DashboardBaseHelper, com.edeal.frontline.navigation.FlRequest, java.util.Vector, org.apache.commons.logging.Log, org.apache.commons.logging.LogFactory" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.DashboardBean" id="Dashboard" scope="request"/> <% DashboardBaseHelper dashboardBaseHelper = new DashboardBaseHelper(Dashboard); String id = null; final Log logger = LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); boolean isModel = false; // can only create dash models from admin part try { id = Dashboard.getDshID(); logger.debug("Dashboard model modification "); System.out.println("Dashboard model modification "); } catch (FieldNotInitializedException fnie) { logger.debug("The Dashboard ID is not initialized. This is normal if you are creating a new Dashboard."); } String action = "/save_dashboard.fl"; //modification if (id == null) { //creation logger.debug("Dashboard model creation "); System.out.println("Dashboard model creation "); action = "/create_save_dashboard.fl"; isModel = true; //creation is only possible for dash model } %><fl:form action="<%= action %>" bean="Dashboard"> <% if(isModel) { // for model dash only (DshDefault false for user dash & and DshCrOrder is defined by user) %><input type="hidden" id="DshCrOrder" name="DshCrOrder" value="0"> <input type="hidden" id="DshDefault" name="DshDefault" value="true"> <%} %> <fl:bigTabs listTitle="<%= Utils.getMessage(session, \"L622A\", false, true, \"Liste des dashboards\") %>" objectTitle="<%= Utils.getMessage(session, \"F608D\", false, true, \"Dashboard\") %>" ou="<%=\"/edit_dashboard.fl\" + ( id != null ? \"?id=\" + id : \"\")%>" > <table class="container" cellpadding="0"> <tr class="ligne_separation"><td> </td></tr> <tr> <td colspan="5"> <table class="container" cellpadding="0"> <fl:fieldEdit labelCode="F2016" property="DshName" mandatoryMsgCode="L6441" /> </table> </td> </tr> <tr> <td colspan="5"> <table class="container" cellpadding="0"> <fl:fieldEdit labelCode="L80C7" property="DshCode" mandatoryMsgCode="L6294" unicityMsgCode="M60CE" /> </table> </td> </tr> </table> </fl:bigTabs> </fl:form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de