Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\sales\correspondent\transfert.jsp
<%@ page language="java" contentType="text/plain; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.grid.*" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String corID = flRequest.getRequestParameterOrAttribute("CorID"); String field = flRequest.getParameter("field"); String formIndex = flRequest.getParameter("formIndex"); try { Integer.parseInt(formIndex); } catch (NumberFormatException nfe) { formIndex = "0"; } formIndex = formIndex != null && !"".equals(formIndex) ? formIndex : "0"; %> var view; var edApp = window.top.opener.edApplication(); var mustContinue = true; if (edApp) { view = edApp.getViewByID("<%= field %>"); if (view) { view.model.reset(); for(i = 0; i < vectID.size(); i++) { //view.model.add({value: vectID.elementAt(i), label: formatToJavascript(vectDisp.elementAt(i))}); view.model.add({value: "<%=corID%>".split("|")[i], label: Utils.formatStringForModel(vectDisp.elementAt(i))}, {silent:true}); } view.render(); view.$el.focus(); mustContinue = false; } } closeWindow();
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de