%@ page language="java" contentType="text/html; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.EventBean" %> <%@ page import="java.util.Hashtable" %> <%@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 evtID = flRequest.getParameter("id"); String evtLabel = null; try { EventBean evtBean = new EventBean(evtID,context); evtLabel = evtBean.getEvtLabel(); }catch (FieldNotInitializedException e){ }catch (FrontlineException e){} String evtFields[] = { "EvtID","EvtStatus0", "EvtStatus1", "EvtStatus2", "EvtStatus3", "EvtStatus4", "EvtStatus5", "EvtStatus6", "EvtStatus7", "EvtStatus8", "EvtStatus9" }; String evtQuery[][] = { { "EvtID = " + Utils.formatToSQL(context, evtID) } }; Vector evtRes = new Vector(); Utils.showQuery(evtFields,evtQuery); try { evtRes = EventBean.listSummary(session, evtFields, evtQuery); } catch(FrontlineException frontlineexception) { } %> " ou="/list_guest.fl?id=<%= evtID %>" ignoreCriteria="true" ignoreList="true" > "/>"> <%= Utils.formatToWeb(evtLabel,false) %> <% Hashtable evt = (Hashtable) evtRes.elementAt(0); for (int j=0 ; j < 10 ; j++) { String propName = "EvtStatus" + new Integer(j).toString(); if (evt.get(propName) != null) { %> <%= evt.get(propName)%>; <% } } %> <%-- The line below was a workaround for this list that was not handling pagination : the workaround always displays all the results, in a single page --%> <%-- --%>