Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\menuelement\read.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 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="com.edeal.frontline.grid.GridData" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <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"> <jsp:useBean class="com.edeal.frontline.MenuElementBean" id="MenuElement" scope="request"/> <script language="javascript" type="text/javascript" src="<fl:webapp/>/js/smalltabs.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/calendar.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/utils.js"></script> <script type="text/javascript" language="javascript" src="<fl:link url="/js/checkFields.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/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/master_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <% 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 = flRequest.getRequestParameterOrAttribute("id"); String menID = flRequest.getRequestParameterOrAttribute("MenID"); String melPosition = flRequest.getRequestParameterOrAttribute("MelPosition"); if (melPosition == null) melPosition = "10"; try { MenuElement.getMelPosition(); } catch (FieldNotInitializedException e) { MenuElement.setMelPosition(new Integer(melPosition).intValue());} if (menID == null) { try { menID = MenuElement.getMelMenID(); } catch (FieldNotInitializedException e) {} } String parentID = Utils.getRequestParameter(context, request, "ParentID"); if (parentID == null) { try { parentID = MenuElement.getMelParentID(); } catch (FieldNotInitializedException e) {} } String typeCode = "LEAF"; try { typeCode = MenuElement.getMelType(); } catch (FieldNotInitializedException e) { MenuElement.setMelType("LEAF"); } %> <body> <div id="object_css" style="top:0px; left: 0px; height:100%;"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L6250\", false, true, \"Elément du menu\") %>" ou="<%=\"/read_menuelement.fl\" + ( id !=null ? \"?id=\"+id : \"\")%>" ignoreList="false" > <table class="container" cellpadding="0"> <tr> <td class="titreFiche" colspan="3"> <% String fullTitle = null; try { if (MenuElement.isMelLabelIsCode()) fullTitle = Utils.getMessage(session, MenuElement.getMelLabel(), "Libellé indisponible"); } catch (Exception e) {} %> <fl:getProperty name="MenuElement" property="MelLabel" alt=""/><%= fullTitle == null ? "" : " (" + fullTitle + ")"%> </td> </tr> <tr class="fieldline"> <td class="column2"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="dataLabel"><fl:getMessage code="F2025" alt="Nom"/></td> <td class="dataValue"> <fl:getProperty name="MenuElement" property="MelLabel" alt=""/><%= fullTitle == null ? "" : " (" + fullTitle + ")"%> </td> </tr> <tr class="fieldline"> <td class="dataLabel"><fl:getMessage code="F1023" alt="Type"/></td> <td class="dataValue"> <%= typeCode.equals("LEAF") ? Utils.getMessage(session, "L6253", "Feuille") : Utils.getMessage(session, "L6252", "Noeud") %> </td> </tr> <% if (typeCode.equals("LEAF")) { %> <tr class="fieldline"> <td class="dataLabel"><%= Utils.getMessage(session, "F6094", "Icône feuille") %></td> <% String iconName = null; try { iconName = MenuElement.getMelIconName(); %> <td class="dataValue"><img src="<fl:webapp/>/icons/menu/<%= iconName %>" border="0" align="absmiddle" alt=""></td> <% } catch (FieldNotInitializedException ex) { %> <td class="dataValue"> </td> <% } %> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td> <table class="container" cellpadding="0"> <fl:fieldRead property="MelLink"/> <% String opensNew = ""; try { if (MenuElement.isMelOpensNew()) opensNew = Utils.getMessage(session, "L625D", "S\'ouvre dans une nouvelle fenêtre"); %> <tr class="fieldline"> <td class="dataLabel"> </td> <td class="dataValue"><%= opensNew %> </td> </tr> <% }catch (FieldNotInitializedException e) {} } %> <fl:fieldRead property="MelPosition"/> </table> </td> </tr> <tr class="ligne_separation"><td> </td></tr> <tr> </tr> </table> </fl:bigTabs> <br> <div align="center"> <a href="javaScript:window.top.close()"><img src="<fl:webapp/>/icons/ico/fermer_red_long.gif"></a> </div> </div> </body>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de