Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\massemailing\select.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.navigation.WebUtils" %> <%@ page import="com.edeal.frontline.FieldBean" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.helper.custom.FieldHelper" %> <%@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(); DataDictionary dico = context.getDataDictionary(); String type = flRequest.getParameter("type"); String field = flRequest.getParameter("field"); String fieldIndex = flRequest.getParameter("fieldIndex"); String fieldid= flRequest.getParameter("fieldid"); String query = flRequest.getParameter("query"); String formIndex = flRequest.getParameter("formIndex"); Vector vectFld = (Vector)flRequest.getAttribute("vectFld"); vectFld = vectFld == null ? new Vector() : vectFld; Vector vectRefs = (Vector)flRequest.getAttribute("vectRefs"); vectRefs = vectRefs == null ? new Vector() : vectRefs; try { Integer.parseInt(formIndex); } catch (NumberFormatException nfe) { formIndex = "0"; } formIndex = formIndex != null && !"".equals(formIndex) ? formIndex : "0"; fieldIndex = fieldIndex != null ? "_" + fieldIndex : ""; // deal with return mode : if fieldid then just do a getElementById else usual, through the form String fieldName=(fieldid==null)?field:fieldid; field = field == null ? "" : field; String fldName = ""; if ((field != null) && (!"".equals(field))){ try { fldName = FieldHelper.getFieldLabel(session, context, field); } catch (FieldNotInitializedException fnie) { } } %><html> <head> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/master_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:link url="/common/select/select_css.jsp"/>"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp" type="text/css"> <script type="text/javascript" src="<fl:link url="/js/edeal/libraries/jquery/jquery.js"/>"></script> <script type="text/javascript" src="<fl:link url="/js/ajax/ajax.js"/>"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/jsOnload.jsp"></script> <script type="text/javascript" language="javascript"> function doSelect(id, display) { var win = window.top.opener; var f = win.document.forms[<%= formIndex %>]; f.<%= fieldName + fieldIndex %>.value = display; f.<%= fieldName + fieldIndex + "Hidden__" %>.value = id; if(win.do<%= fieldName + fieldIndex %>Change) { win.do<%= fieldName + fieldIndex %>Change(); } window.top.close(); win.focus(); } function doSubmit() { var e = document.forms[0].elements; var strURL = _grid__select_js_.getAjaxUrl(); strURL += '&<%= WebUtils.urlEncode(context, field) %>=' + encodeURIComponent(e['criteria_query'].value).split('+').join('%2b'); var params=new Object(); params["$$idx"]=0; _grid__select_js_.callAjaxForHtml(strURL,params,true,false,null,true); } </script> </head> <body onload="document.forms[0].criteria_query.focus()"> <form action="javascript:doSubmit()"> <%-- The 'gridFocusRecipient' tag is used to receive the focus when the mouse leaves a grid area. It's part of the Firefox triple-click bug fix. --%> <input name="gridFocusRecipient" id="gridFocusRecipient" value="" style="display: none;"/> <table class="global" cellpadding="0"> <tr> <td class="header_top_left"></td> <td class="header_top_middle"></td> <td class="header_top_right"></td> </tr> <tr> <td class="header_center_left"></td> <td class="header_center_middle title"> <div style="display: inline"><% %> <div class="criteria"> <span class="criteria_label"> <%= Utils.formatToWeb(fldName, false) %></span><% %> <span class="criteria_field"><input id="criteria_query" name="criteria_query" type="text" size="20" value=""></span><% %> </div><% %> </div> <input type="image" src="<fl:link url="/icons/ico/valid_green2_long.gif"/>" class="search_button_new"> </td> <td class="header_center_right"></td> </tr> <tr> <td class="header_bottom_left"></td> <td class="header_bottom_middle"></td> <td class="header_bottom_right"></td> </tr> <tr> <td class="body_left"></td> <td class="body_middle"> <div style="height:290px"> <fl:grid name="select" width="100%" height="290px" hidePage="true" ajaxUrl="<%= \"/select_list_field.fl?type=\"+WebUtils.urlEncode(context, type)+(query == null ? \"\" : \"&query=\" + WebUtils.urlEncode(context, query)) + \"&field=\" + WebUtils.urlEncode(context, field) %>"></fl:grid> </div> </td> <td class="body_right"></td> </tr> <tr> <td class="body_bottom_left"></td> <td class="body_bottom_middle"><img src="<fl:link url="/icons/popup/pop14.gif"/>" width="9" height="18"></td> <td class="body_bottom_right"></td> </tr> </table> </form> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de