Edit C:\galaxie\Back\galaxie\marketing\selection2\edit_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" import="com.edeal.frontline.*"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.Selection2Bean" id="Selection2" scope="request" /> <% String id = null; try{ id = Selection2.getSe2ID(); }catch(Exception e){} %> <script language="javascript"> function hasSelected(){ var f = document.forms[1]; if (f.id == null) { return false; } var result = false; if (f.id.length) { for (var i = 0; !result && i < f.id.length; i++) { result = result || f.id[i].checked; } } else { result = f.id.checked; } return result; } function doDeleteCriteria() { performOperation('delete'); } function performOperation(operation) { if (hasSelected()) { var url = '<fl:webapp/>/criteria2_operation.fl?op=' + operation + '<%= id != null ? "&CtrID="+ id : "" %>'; var ids = ''; var f = document.forms[1]; if (f.id.length) { for (var i = 0; i < f.id.length; i++) { if (f.id[i].checked) { ids += '&Cr2ID=' + f.id[i].value; } } } else { if (f.id.checked) { ids += '&Cr2ID=' + f.id.value; } } if (ids != '') { url += ids; doAjax(url); } } } function doGroupAnd() { performOperation('and'); } function doGroupOr() { performOperation('or'); } function doUngroup() { performOperation('ungroup'); } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:submit()"> <p class="actions_tabletext"><fl:getMessage code="A0003" alt="Enregistrer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% if (id != null) { %> <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"><p class="actions_tabletext"><fl:getMessage code="L6189" alt="Critères"/></p></div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <img class="actions_image_cross" src="<fl:webapp/>/icons/sidebar/actions/cell_item_middle.gif"> <a href="javascript:doDeleteCriteria()"><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> <div class="actions_tablecell_1"> <img class="actions_image_cross" src="<fl:webapp/>/icons/sidebar/actions/cell_item_middle.gif"> <a href="javascript:doGroupAnd()"><p class="actions_tabletext"><fl:getMessage code="A304B" alt="Grouper (ET)"/></p></a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <img class="actions_image_cross" src="<fl:webapp/>/icons/sidebar/actions/cell_item_middle.gif"> <a href="javascript:doGroupOr()"><p class="actions_tabletext"><fl:getMessage code="A304C" alt="Grouper (OU)"/></p></a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <img class="actions_image_cross" src="<fl:webapp/>/icons/sidebar/actions/cell_item_end.gif"> <a href="javascript:doUngroup();"><p class="actions_tabletext"><fl:getMessage code="A304D" alt="Dégrouper"/></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