Edit C:\Windows\install\galaxie_p01_01-10\marketing\selectionjournalist\confirm_popname.jsp
<%@ page language="java" contentType="text/plain;charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="java.util.Vector" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); String field = flRequest.getRequestParameterOrAttribute("field"); String msg = flRequest.getRequestParameterOrAttribute("msg"); if (msg == null) { msg = Utils.getMessage(session, "M60A1", false, true, "La valeur doit ĂȘtre unique. Veuillez la modifier."); } String formName = flRequest.getRequestParameterOrAttribute("formName"); if (formName != null) { try { Integer.parseInt(formName); } catch (NumberFormatException nfe) { formName = "'" + formName + "'"; } } else { formName = "0"; } boolean alreadyExists = "1".equals(flRequest.getAttribute("AlreadyExists")); String oldID = (String)flRequest.getAttribute("oldID"); if (alreadyExists) { msg = Utils.formatToJavascript(msg); String newMsg =""; if(msg.indexOf("\\n")>0){ Vector vect = Utils.explodeList(msg+"\\n","\\n"); for(int i=0; i < vect.size(); i++){ int start = ((String)vect.elementAt(i)).length()-1; int end = ((String)vect.elementAt(i)).length(); String antislash = ((String)vect.elementAt(i)).substring(start,end); if(antislash.equals("\\")){ newMsg += ((String)vect.elementAt(i)+"n").trim(); } else newMsg += ((String)vect.elementAt(i)+"\n").trim(); } } %> if (window.confirm('<%= newMsg %>')) { var f = window.document.forms[<%= formName %>]; f.oldPopID.value = '<%= Utils.formatToJavascript(oldID) %>'; alreadyAsked = true; submit(); } else { var f = window.document.forms[<%= formName %>]; f.SjoName.focus(); } <% } else { %> alreadyAsked = true; submit(); <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de