Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\sla\read_action.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"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.*" %> <%@ page import="com.edeal.frontline.SLAStateBean" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.SLABean" id="SLA" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String id = null; try{ id = SLA.getID(); //Utils.getRequestParameter(context, request, "id"); } catch (FieldNotInitializedException fnie) { } boolean accessmodifEtat = false; /*SLABean slaBean = null; boolean accessmodif = false; boolean accessSupp = false; boolean accessmodifEtat = false; boolean accesscreate = false; try { slaBean = new SLABean(id, context); accessmodif = slaBean.enforceAccess(AccessControlManager.EDIT); accesscreate = slaBean.enforceAccess(AccessControlManager.CREATE); accessSupp = slaBean.enforceAccess(AccessControlManager.DELETE); } catch (AccessDeniedException e) { }*/ try { SLAStateBean etatSla = new SLAStateBean(session); accessmodifEtat = etatSla.enforceAccess(AccessControlManager.CREATE); } catch (FrontlineException e) { } %> <fl:access operation="delete" name="SLA"> <script language="javascript"> function doDelete() { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')==true) { window.parent.location = '<fl:webapp/>/delete_sla.fl?id=<%= id %>'; } } </script> </fl:access> <fl:access operation="edit" name="SLA"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_sla.fl\" + ( id != null ? \"?id=\" + id : \"\")%>"/>"> <p class="actions_tabletext"><fl:getMessage code="A0008" alt="Modifier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <fl:access operation="delete" name="SLA"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDelete()"> <p class="actions_tabletext"><fl:getMessage code="A0007" alt="Supprimer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <fl:access operation="create" name="SLA"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_sla.fl?fromcopy=1\" + ( id != null ? \"&id=\" + id : \"\")%>"/>"> <p class="actions_tabletext"><fl:getMessage code="L610D" alt="Copier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <% if (accessmodifEtat) { %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_sls.fl?SlsSlaID=\" + ( id != null ? id : \"\")%>"/>"> <p class="actions_tabletext"><fl:getMessage code="L6566" alt="Etat SLA"/>+</p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% } %> <% /****************************************************************************** * * 2007/01/09 09:51:31 mustapha * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de