Edit C:\Users\Administrator\Desktop\Back\galaxie\workflow\workflow_action.jsp
<%@page import="com.edeal.frontline.controller.WorkflowControllerServlet"%><% /****************************************************************************** * 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.*,com.edeal.frontline.workflow.*,java.util.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); // get the parameters String workflowid = flRequest.getParameter(WorkflowControllerServlet.WF_REQ_PARAM_WORKFLOW_ID); String transitionid = flRequest.getParameter(WorkflowControllerServlet.WF_REQ_PARAM_TRANSITION_ID); String actionCallUri=flRequest.getParameter(WorkflowControllerServlet.WF_REQ_PARAM_ACTIONCALL); String wfbeanreturnid=flRequest.getParameter(WorkflowControllerServlet.WF_REQ_PARAM_BEAN_ID); boolean hasReturnId=wfbeanreturnid!=null && !"".equals(wfbeanreturnid); String actionCallUrl=WorkflowControllerServlet.changeActionSuffix(actionCallUri) +"?"+WorkflowControllerServlet.WF_REQ_PARAM_WORKFLOW_ID+"="+workflowid +"&"+WorkflowControllerServlet.WF_REQ_PARAM_TRANSITION_ID+"="+transitionid +"&"+WorkflowControllerServlet.WF_REQ_PARAM_WFCALLTYPE+"="+WorkflowControllerServlet.WFCALL_TYPE_RUN +(hasReturnId?"&"+WorkflowControllerServlet.WF_REQ_PARAM_BEAN_ID+"="+wfbeanreturnid:""); actionCallUrl=flRequest.computeURL("/"+actionCallUrl); FieldsCollection hiddenFields=(FieldsCollection)flRequest.getAttribute(WorkflowControllerServlet.WF_REQ_ATTRIB_HIDDENFIELDS); FieldsCollection mandatoryFields=(FieldsCollection)flRequest.getAttribute(WorkflowControllerServlet.WF_REQ_ATTRIB_MANDATORYFIELDS); FieldsCollection readonlyFields=(FieldsCollection)flRequest.getAttribute(WorkflowControllerServlet.WF_REQ_ATTRIB_READONLYFIELDS); String label=(String)flRequest.getAttribute(WorkflowControllerServlet.WF_REQ_ATTRIB_TRANSITION_LABEL); %> <script> function doContinue() { wf.log("doContinue",true); var win = window.parent.frames['Body']; wf.log("got the win",true); f=win.document.forms[0]; wf.onLoad(f); wf.log("form found:"+f,true); // change the destinatin here f whatnext if (wf.onSubmit(f)) { wf.log("on continue",true); fContinue=true; if (win.doSubmit) { wf.log("submit dsla fenetre",true); fContinue=win.doSubmit(); } if (fContinue) { wf.log("submittons",true); if (f.$$whatNext) { f.$$whatNext.value="/workflowContinue"; } wf.log("submit whatNext: "+f.$$whatNext.value); f.submit(); } } } function wf_do_continue() { f=document.forms[0]; f.action='<%= actionCallUrl %>'; submit(); } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:wf_do_continue()"> <p class="actions_tabletext"><fl:getMessage code="L8253" alt="Continuer"/> [<%= label %>]</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