Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\edealMobile\agenda\addActor.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); String contextPath = (String) session.getAttribute("contextPath"); FlContext context = null; if (contextPath!=null) { context = Frontline.getContext(contextPath); } else { context = Frontline.getContext(request.getContextPath()); } 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) { 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> <DIV> <form method="POST" action="<fl:webapp/>/addm_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 actID = (String) row.get("ActID"); 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"); %> <div class="resultset"> <table border="0" cellpadding="0" cellspacing="0" class="embeded"> <TR valign="top"> <td width="60%"> <a href="<fl:webapp/>/editm2_interaction.fl?op=addActor&actID=<%= actID%>" class="title"> <%= fstname != null ? Utils.formatToWeb(fstname,false)+" " : "" %> <%= name !=null ? Utils.formatToWeb(name,false) : "" %></a><br/> <%= function != null ? Utils.formatToWeb(function,false) + "<br/>" : ""%> </td> </TR> </table> </div> <% } } 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