<% // 0038935: CTC Questionnaire de satisfaction // http://u-project2.umanis.com/view.php?id=38935 /****************************************************************************** * Copyright (c) 2000-2006 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 session="true" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="java.util.LinkedHashMap" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable"%> <%@ page import="com.edeal.frontline.ListBean" %> <%@ page import="com.edeal.frontline.initializers.PersonEventInitializer" %> <%@ page import="com.edeal.frontline.helper.EventBaseHelper.EventCategory" %> <%@ 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 id = flRequest.getParameter("id"); LinkedHashMap listInscriptionStatusIDAndDisplay = (LinkedHashMap) flRequest.getAttribute(PersonEventInitializer.LIST_INSCRIPTION_STATUS); if (listInscriptionStatusIDAndDisplay == null) { listInscriptionStatusIDAndDisplay = new LinkedHashMap(); } LinkedHashMap listParticipationStatusIDAndDisplay = (LinkedHashMap) flRequest.getAttribute(PersonEventInitializer.LIST_PARTICIPATION_STATUS); if (listParticipationStatusIDAndDisplay == null) { listParticipationStatusIDAndDisplay = new LinkedHashMap(); } String msqQuota = (String) flRequest.getAttribute(PersonEventInitializer.MSG_QUOTA); EventCategory eventCategory = (EventCategory) flRequest.getAttribute(PersonEventInitializer.EVENT_TYPE); String pvtID = null; try { pvtID = PersonEvent.getPvtID(); } catch (FieldNotInitializedException fnie) { } String pvtEventID = null; try { pvtEventID = PersonEvent.getPvtEventID(); } catch (FieldNotInitializedException fnie) { } String pvtParStatus = null; try { pvtParStatus = PersonEvent.getPvtParStatus(); } catch (FieldNotInitializedException fnie) { } String pvtInsStatus = null; try { pvtInsStatus = PersonEvent.getPvtInsStatus(); } catch (FieldNotInitializedException fnie) { } String NonRepondu = null; try { NonRepondu = dico.getRefIdByCode("Esp", "Te1", "NORES"); } catch (Exception e) { e.printStackTrace(); } //ABM Evolution : http://u-project2.umanis.com/view.php?id=40873 = création du liste SENDQSTEVT String lstObjID = ""; try { String[] fieldslst = {"LstID"}; String[][] querylst = {{"LstCode = 'SENDQSTEVT'"}}; Vector listlst = ListBean.listSummary(context, fieldslst, querylst); if(listlst != null && !listlst.isEmpty()) { Hashtable tab = (Hashtable)listlst.firstElement(); lstObjID = (String)tab.get("LstID"); } } catch (Exception e) { lstObjID =""; } String envoye = null; try { envoye = dico.getRefIdByCode("PvtInsStatus", "SENT"); } catch (Exception e) { e.printStackTrace(); } %> <fl:getMessage code="L2025" alt="e-Deal"/>
"> <% if ((msqQuota != null) && (EventCategory.MEET.equals(eventCategory))) { %> <% } %>
<%= msqQuota %>