Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\messages\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:useBean class="com.edeal.frontline.MessagesBean" id="Messages" 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; try { id = Messages.getID(); } catch (FieldNotInitializedException e) { id = null; } String msgEvtID = null; try { msgEvtID = Messages.getMsgEvtID(); } catch (FieldNotInitializedException e) { } boolean relatedToEvent = (msgEvtID != null); boolean isMIME = false; try { String refMIME = dico.getRefIdByCode("MsgCtyID", "MIME"); if (refMIME != null) { isMIME = refMIME.equals(Messages.getMsgCtyID()); } } catch (FieldNotInitializedException ex) { } %> <script language="javascript"> function doDelete() { if (confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { window.location = '<fl:link url="<%= \"/delete_messages.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doModify() { <% if (isMIME) { %> alert('<fl:getMessage code="M0028" alt="Impossible d\\\'éditer un fichier de type MIME" js="true"/>'); <% } else { %> window.location = '<fl:link list="true" url="<%= \"/edit_messages.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; <% } %> } </script> <fl:access operation="edit" name="Messages"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doModify()"> <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="Messages"> <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> </fl:access> <% if (relatedToEvent) { %> <fl:access operation="event" name="Messages"> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/read_event.fl\" + ( msgEvtID != null ? \"?id=\" + msgEvtID : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L305F" alt="Evénement"/></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