Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\service\solicitation\select.jsp
<% /****************************************************************************** * Copyright (c) 2000-2005 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 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" %> <%@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 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"; %> <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"> function myReplace(maChaine , ca , parCa) { return maChaine.split(ca).join(parCa); } function doSubmit() { var f = document.forms[0]; var perUrl = _grid__selectPer_js_.getAjaxUrl(); var silUrl = _grid__selectSil_js_.getAjaxUrl(); var params = {}; if (f.query.value != ''){ params["PerName"] =f.query.value; } params["lc"] ="selectPer"; _grid__selectPer_js_.callAjaxForHtml(perUrl,params,true,false,null,true,false); params["query"] ="not(SilName=null)"; if (f.query.value != ''){ params["SilName"] =f.query.value; } params["lc"] ="selectSil"; _grid__selectSil_js_.callAjaxForHtml(silUrl,params,true,false,null,true,false); } function selectPer(idPer){ window.top.opener.selectPer(idPer); window.top.close(); } function selectSil(idSil){ window.top.opener.selectSil(idSil); window.top.close(); } function doSelect(id, display,type) { if(type=="Person"){ selectPer(id); } else if (type=="Silhouette"){ selectSil(id); } } </script> </head> <body onload="document.forms[0].query.focus()"> <form action="javascript:doSubmit()"> <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"> <fl:getMessage code="F2025" alt="Nom"/> <input type="text" name="query"> <input type="image" style="margin-left: 10px; border: none; vertical-align: middle; background: transparent" src="<fl:link url="/icons/ico/valid_green2_long.gif"/>" width="73px" height="17px"> </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"> <fl:label forInput="" code="F002E" label="Personne"/> <div class="edealGrid" style="overflow: auto; height:200px"> <fl:grid name="selectPer" width="100%" height="260px" hidePage="true" ajaxUrl="<%= \"/select_list.fl?type=Person\"%>"/></td> </div> <td class="body_right"></td> </tr> <tr> <td class="body_left"></td> <td class="body_middle"> </td> <td class="body_right"></td> </tr> <tr> <td class="body_left"></td> <td class="ligne_separation_couleur"></td> <td class="body_right"></td> </tr> <tr> <td class="body_left"></td> <td class="body_middle"> </td> <td class="body_right"></td> </tr> <tr> <td class="body_left"></td> <td class="body_middle"> <fl:label forInput="" code="F002F" label="Silhouette"/> <div class="edealGrid" style="overflow: auto; height: 220px;"> <fl:grid name="selectSil" width="100%" height="260px" hidePage="true" ajaxUrl="<%= \"/select_list.fl?type=Silhouette\"%>"/></td> </div> <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> <div id="waiting" style="display:none"><fl:getMessage code="L639B" alt="Chargement ..."/></div> </form> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de