Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\requester\list_criteria.jsp
<%@ page language="java"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="java.util.Map" %> <%@ page import="com.edeal.frontline.navigation.WebUtils" %> <%@ page import="com.edeal.frontline.ActorBean" %> <%@ page import="com.edeal.frontline.AccessDeniedException" %> <%@ page import="com.edeal.frontline.InteractionBean" %> <%@ page import="java.util.Vector" %> <%@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 nb = flRequest.getSearchCriteria("$$nb"); String title = flRequest.getSearchCriteria("reqTitle"); String type = flRequest.getSearchCriteria("reqType"); // List code String lc = flRequest.getRequestParameterOrAttribute("lc"); if (lc == null) { lc = flRequest.getRequestParameterOrAttribute("code"); } if (lc == null) { lc = "ReqList"; } request.setAttribute("lc", lc); // search criteria String sc = flRequest.getRequestParameterOrAttribute("sc"); // object uri String ou = flRequest.getRequestParameterOrAttribute("ou"); // id String objTitle = flRequest.getRequestParameterOrAttribute("obj.title"); if (objTitle == null) { objTitle = Utils.getMessage(session, "M1004", false, true, "Liste des ciblages"); } String SfwID = flRequest.getRequestParameterOrAttribute("SfwID"); Map searchCriteria = new Hashtable(); if (sc != null) { searchCriteria = WebUtils.parseQueryString(sc); } request.setAttribute("selectedTab", "0"); Vector vectTyr = dico.getRefList(session, "ReqTyrID"); %> <script language="javascript"> function doSubmit() { var f = document.forms[0]; var nb = f.$$nb.options[f.$$nb.selectedIndex].value; var title = f.ReqTitle.value; var type = f.ReqTyrID.options[f.ReqTyrID.selectedIndex].value; var queryString = '$$nb=' + nb; if (title != '' && title != '<fl:getMessage code="L2071" alt="<Titre>" js="true"/>'){ queryString += '&reqTitle=' + title; } if (type != ''){ queryString += '&reqType=' + type; } f.sc.value = queryString; return true; } </script> <form action="<fl:link url="/list_requester.fl"/>" method="get" onsubmit="doSubmit()"> <input type="hidden" name="lc" value="<%= Utils.formatToWeb(lc, true) %>"> <input type="hidden" name="sc" value=""> <input type="hidden" name="ou" value="<%= Utils.formatToWeb(ou, true) %>"> <input type="hidden" name="cu" value="/list_requester_criteria.fl"> <input type="hidden" name="lu" value="/list_requester.fl"> <input type="hidden" name="obj.title" value="<%= Utils.formatToWeb(objTitle, true) %>"> <input type="hidden" name="criteria.title" value="<fl:getMessage code="L63CD" alt="Recherche requester"/>"> <input type="hidden" name="list.title" value="<fl:getMessage code="L60E1" alt="Liste des requêtes"/>"> <% if (SfwID != null) { %> <input type="hidden" name="SfwID" value="<%= SfwID %>"> <% } %> <fl:bigTabs criteriaTitle="<%= Utils.getMessage(session, \"L63CD\", \"Recherche requester\") %>"> <table class="container" cellpadding="0"> <tr> <td> <table class="container" cellpadding="0"> <tr> <td> <div class="criteriaTableDiv"> <input class="criteriaField" name="ReqTitle" type="text" value="<%= title == null || "".equals(title) ? Utils.getMessage(session, "L2071", "<Titre>") : title %>" onfocus="if(this.value == '<fl:getMessage code="L2071" alt="<Titre>" js="true"/>') this.value = ''" size="40" maxlength="100" onBlur="if(this.value == '') this.value = '<fl:getMessage code="L2071" alt="<Titre>" js="true"/>'"> <% if(vectTyr != null && !vectTyr.isEmpty()) { %> <select class="criteriaField leftMargin10" name="ReqTyrID"> <option value=""<%= type == null || "".equals(type) ? " selected" : "" %>><fl:getMessage code="L60E4" alt="<Type>"/></option> <% for(int i = 0; i < vectTyr.size(); i++) { Vector row = (Vector)vectTyr.elementAt(i); %> <option value="<%= Utils.formatToWeb((String)row.elementAt(0), true) %>" <%= Utils.formatToWeb((String)row.elementAt(0), true).equals(type) ? "selected" : "" %>><%= Utils.formatToWeb((String)row.elementAt(1), false) %></option> <% } %> </select> <% } %> </div> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td valign="top" style="width: 15%;"> <table class="container" cellpadding="0"> <tr> <td colspan="2" style="text-align: left;"> <select name="$$nb"> <option value="20" <%= nb == null || "20".equals(nb) ? "selected" : "" %> >20 / <fl:getMessage code="M60CC" alt="page" /></option> <option value="50" <%= "50".equals(nb) ? "selected" : "" %> >50 / <fl:getMessage code="M60CC" alt="page" /></option> <option value="All" <%= "All".equals(nb) ? "selected" : "" %> ><fl:getMessage code="L302C" alt="Toutes"/></option> </select> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <input type="image" src="<fl:webapp/>/icons/ico/valid_green2_long.gif" border="0" tabindex="999" align="left"> </td> </tr> </table> </td> </tr> </table> </fl:bigTabs> </form>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de