Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\common\unicity\unicity.jsp
<%@ page language="java" contentType="text/plain;charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <% 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")); if (alreadyExists) { %>window.alert('<%= Utils.formatToJavascript(msg) %>'); var field = window.document.forms[<%= formName %>].<%= field %>; var lblField = window.document.forms[<%= formName %>].lbl<%= field %>; if (field.type == "select") { field.selectedIndex = 0; field.focus(); } else { field.value = ""; if (lblField) { lblField.value = ""; lblField.focus(); }else { field.focus(); } }<% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de