%@page import="com.edeal.frontline.helper.custom.InteractionHelper"%> <%@page import="com.edeal.frontline.Utils"%> <%@page session="true"%><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@ page import="com.edeal.frontline.FlContext" %><%@ page import="com.edeal.frontline.DataDictionary" %><%@ page import="com.edeal.frontline.FieldNotInitializedException" %><%@ page import="com.edeal.frontline.FrontlineException" %><%@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 = Interaction.getID(); boolean isDone = false; try { isDone = "DONE".equals(dico.getRefCode("IntStiID", Interaction.getIntStiID())); } catch (FieldNotInitializedException fnie) { } catch (FrontlineException fe) { } String intAtvID = null; try { intAtvID = Interaction.getIntAtvID(); } catch (FieldNotInitializedException e) { } String almID = (String)flRequest.getAttribute("AlmID"); boolean existsAlert = almID != null; String inboundMailIntAtvID = null; try { inboundMailIntAtvID = dico.getRefIdByCode("IntAtvID", "INEMAIL"); } catch (FrontlineException e) { } String outboundMailIntAtvID = null; try { outboundMailIntAtvID = dico.getRefIdByCode("IntAtvID", "OUTEMAIL"); } catch (FrontlineException e) { } InteractionHelper interactionHelper = new InteractionHelper(Interaction); String corrID = null; try { corrID = dico.getRefIdByCode("IntType_", "COR"); } catch (FrontlineException e) { corrID = ""; } String todoID = null; try { todoID = dico.getRefIdByCode("IntType_", "ACT"); } catch (FrontlineException e) { todoID = ""; } // Détecter le type de l'intéraction String typeIntID = null; try { typeIntID = (String)Interaction.getCustomProperty("IntType_"); } catch (FieldNotInitializedException e) { typeIntID = ""; } %> Connexion I-Reflet... "/>"> <% if (typeIntID.equalsIgnoreCase(corrID)) { %> "/>"> + <%} else if(typeIntID.equalsIgnoreCase(todoID)) {%> "/>"> + <%} %> <% if (!existsAlert) { %> <% } else { %> <% } %> <% if (!isDone && Interaction.hasAbsentDisplay()) { %> <% } %> <% if (Interaction.hasPrintDisplay()) { %> <% } %>
+