Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\snapshot\read_action.jsp
<%@page session="true" import="com.edeal.frontline.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:directive.page contentType="text/html; charset=UTF-8" isELIgnored="false"/> <jsp:useBean class="com.edeal.frontline.SnapshotBean" id="Snapshot" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); DataDictionary dico = flRequest.getContext().getDataDictionary(); String id; try { id = Snapshot.getID(); } catch (FieldNotInitializedException e) { id = null; } %> <script language="javascript"> function doDelete() { if (confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/delete_snapshot.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doEdit() { if (confirm('<fl:getMessage code="M9028" alt="Attention ! La modification entraîne la suppression des graphiques associés" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/edit_snapshot.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doExecute() { window.open('<fl:link list="false" url="<%= \"/run_snapshot.fl?id=\" + ( id != null ? id : \"\") %>"/>', 'ExecuteSnap', 'status=yes,width=500,height=200,scrollbars,resizable'); } </script> <fl:access operation="edit" name="Snapshot"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doEdit();"> <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="Snapshot"> <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="execute" name="Snapshot"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doExecute();"> <p class="actions_tabletext"><fl:getMessage code="L60E3" alt="Exécuter"/></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 name="SnapshotDisplay" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_snapshotdisplay.fl\" + ( id != null ? \"?initSdiSnaID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="T0015" alt="Repr�sentation unitaire"/> +</p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de