Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\edealMobile\actor\list.jsp
<%@page session="true" import="com.edeal.frontline.*,java.util.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%> <jsp:useBean class="com.edeal.frontline.ActorBean" id="Actor" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String forwardPage = (String)flRequest.getAttribute("forwardPage"); if(forwardPage == null) forwardPage = flRequest.getParameter("forwardPage"); String actorID = (String)session.getAttribute("actorID"); //list des acteurs String actName = null; actName = flRequest.getParameter("ActName"); Vector list = new Vector(); if (actName != null && !actName.trim().equals("")) { if (Utils.getMessage(session,"L2040",true, "<Nom>").equals(actName.trim())){ try{ list = ActorBean.listSummary(session,new String[]{"ActFstName","ActName","ActPhone","ActMobile","ActMail","ActID"},new String[][]{{"ActName <> 'Anonymous'","ActName <> 'System'"}},new String[]{"ActName","ActFstName"}); }catch(Exception e){ list = new Vector(); } }else { try{ list = ActorBean.listSummary(session,new String[]{"ActFstName","ActName","ActPhone","ActMobile","ActMail","ActID"},new String[][]{{"ActName like '"+actName.trim()+"%'","ActName <> 'Anonymous'","ActName <> 'System'"},{"ActFstName like '"+actName.trim()+"%'","ActName <> 'Anonymous'","ActName <> 'System'"}},new String[]{"ActName","ActFstName"}); }catch(Exception e){ list = new Vector(); } } } %> <HTML> <HEAD> <title><fl:getMessage code="L6421" alt="Liste des acteurs"/></title> <LINK href="<fl:webapp/>/edealMobile/css/css.css" rel="stylesheet" type="text/css"> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> </HEAD> <BODY> <jsp:include page="/edealMobile/menu.jsp"> <jsp:param name="URLDISP" value="ACTLIST"/> </jsp:include> <DIV class="action-bar" style="margin-bottom: 10px;"> <a href="<fl:webapp/>/listm_person.fl"><fl:getMessage code="S0003" alt="Personnes"/></a> <a href="<fl:webapp/>/listm_enterprise.fl"><fl:getMessage code="L30F8" alt="Entreprises"/></a> <span class="label" style="font-size: 80%;"><fl:getMessage code="L607C" alt="Acteurs"/></span> </DIV> <DIV> <form method="GET" action="<fl:webapp/>/listm_actor.fl"> <table border="0" cellpadding="0" > <tr> <td class="criteria"> <input type="text" name="ActName" value="<%= actName != null && !"".equals(actName.trim()) ? Utils.formatToWeb(actName,false) : ""%>"> <input type="submit" value="Go !"> </td> </tr> </table> </form> </DIV> <% if(list != null && !list.isEmpty()){ for(int i=0; i < list.size(); i++){ Hashtable row = (Hashtable)list.elementAt(i); String fstname = (String) row.get("ActFstName"); String name = (String) row.get("ActName") ; String phone = (String) row.get("ActPhone"); String mobile = (String) row.get("ActMobile"); String mail = (String) row.get("ActMail"); String function = (String) row.get("ActFunction"); String actID = (String) row.get("ActID"); %> <div class="resultset"> <table border="0" cellpadding="0" cellspacing="0"> <TR valign="top"> <td width="60%"> <a href="<fl:webapp/>/readm_actor.fl?id=<%= actID%>" class="box-title"> <span> <%= fstname != null ? Utils.formatToWeb(fstname,false)+" " : "" %> <%= name !=null ? Utils.formatToWeb(name,false) : "" %> </span> </a> </td> </TR> </table> </DIV> <% } } else if (actName != null && actName.trim().equals("")) { %> <fl:getMessage code="M6154" alt="Merci de remplir le critère."/> <% } else if (actName != null) { %> <fl:getMessage code="L104B" alt="Aucune entrée"/> <% } %> <jsp:include page="/edealMobile/footer.jsp"/> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de