Edit C:\Windows\install\galaxie_p01_15-09\sales\interaction\edit_action.jsp
<%@page import="com.edeal.frontline.helper.custom.InteractionHelper"%> <%@page import="com.edeal.frontline.navigation.FlRequest"%> <%@page session="true" import="com.edeal.frontline.*"%><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean id="Interaction" class="com.edeal.frontline.InteractionBean" scope="request"/> <% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String id = null; try { id = Interaction.getID(); } catch (FieldNotInitializedException fnie) { } id = id!=null?id:""; boolean isDone = false; try { isDone = "DONE".equals(dico.getRefCode("IntStiID", Interaction.getIntStiID())); } catch (FieldNotInitializedException fnie) { } catch (FrontlineException fe) { } InteractionHelper interactionHelper = new InteractionHelper(Interaction); %> <script language="javascript"> function submitAndRealize() { var f=document.forms[0]; f.action='<fl:link list="true" url="<%= \"/realize_interaction_from_edit.fl?id=\" + id %>"/>'; submit(); } </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> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <% if (!isDone) { %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:submitAndRealize()"> <p class="actions_tabletext"><%= interactionHelper.getRealizeLabel(flRequest) %></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