Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\navigation\sidebar\kb_action.jsp
<%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.CartBean" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String crtID = flRequest.getRequestParameterOrAttribute("CrtID"); DataDictionary dico = context.getDataDictionary(); String crtStatusSent = dico.getRefIdByCode("CrtStatus", "SENT"); Boolean isStatusSent = false; if (crtID != null) { try { CartBean cartBean = new CartBean(crtID, context); isStatusSent = cartBean.getCrtStatus().equals(crtStatusSent); } catch (Exception e) { } } %> <div class="sidebar_div" id="sidebarActions_div"> <h2 class="actions_titlebar"><fl:getMessage code="A0010" alt="Actions"/></h2> <div id="cart_actions"> <table cellpadding="0" class="container"> <tbody> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:generatePDF('<%=crtID %>');"> <p class="actions_tabletext"><fl:getMessage code="L80B0" alt="Génerer le PDF"/></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"> <% if (isStatusSent) { %> <fl:getMessage code="L70D3" alt="Ré-envoyer"/> <% } else { %> <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> </table> </div> <table cellpadding="0" class="container"> <tbody> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:back_to_kbase()"> <p class="actions_tabletext"><fl:getMessage code="L80B1" alt="Retourner vers K. Base"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </tbody> </table> </div>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de