Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\emailing\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.EMailingBean" id="EMailing" 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 SfwID = flRequest.getRequestParameterOrAttribute("SfwID"); String id; try { id = EMailing.getID(); } catch (FieldNotInitializedException e) { id = null; } String textMsg = null; String htmlMsg = null; String senderID = null; try { textMsg = EMailing.getEmaTextMsgID(); } catch (FieldNotInitializedException ex) {} try { htmlMsg = EMailing.getEmaHtmlMsgID(); } catch (FieldNotInitializedException ex) {} try { senderID = EMailing.getEmaSenderID(); } catch (FieldNotInitializedException ex) {} ActorBean sender = null; String senderMail = null; if(senderID != null) { try { sender = new ActorBean(senderID, session); } catch (AccessDeniedException ew) {} try { senderMail = sender.getActMail(); } catch (FieldNotInitializedException ex) {} } else { try { senderMail = EMailing.getEmaSender(); } 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.parent.location = '<fl:link url="<%= \"/delete_emailing.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doSend(isCtlGrp) { <% if ((textMsg == null) && (htmlMsg == null)) { %> window.alert("<fl:getMessage code="M6007" alt="l\\\'emailing ne peut être envoyé : aucun message associé" js="true"/>"); <% }else { %> <% if (senderMail == null) {%> window.alert('<fl:getMessage code="M6008" alt="la liste de diffusion électronique ne peut être envoyé : l\'émetteur n\'a pas d\'adresse de courrier électronique ..." js="true"/>'); <% }else {%> window.open('<fl:webapp/>/send_emailing_planif.fl?emaID=<%= id%>&SfwID=<%= SfwID%>' + (isCtlGrp == null ? '' : '&ctl=1'), 'Envoi' , 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=250'); <% }}%> } function doRefreshCounts() { <%-- emaBean.countEmaSent();--%> window.open('<fl:webapp/>/count_emailing.fl?emaID=<%= id%>&SfwID=<%= SfwID%>' ,'Comptages' , 'menubar=no,status=yes,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=170'); } </script> <fl:access operation="edit" name="EMailing"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_emailing.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="EMailing"> <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> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doSend(true);"> <p class="actions_tabletext"><fl:getMessage code="A0009" alt="Tester"/></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> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doSend();"> <p class="actions_tabletext"><fl:getMessage code="L60CC" alt="Envoyer"/></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> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doRefreshCounts();"> <p class="actions_tabletext"><fl:getMessage code="L70BF" alt="Rafraichir comptages"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de