<%@page session="true" import="com.edeal.frontline.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@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; try { id = Messages.getID(); } catch (FieldNotInitializedException e) { id = null; } String msgEvtID = null; try { msgEvtID = Messages.getMsgEvtID(); } catch (FieldNotInitializedException e) { } boolean relatedToEvent = (msgEvtID != null); boolean isMIME = false; try { String refMIME = dico.getRefIdByCode("MsgCtyID", "MIME"); if (refMIME != null) { isMIME = refMIME.equals(Messages.getMsgCtyID()); } } catch (FieldNotInitializedException ex) { } %> <% if (relatedToEvent) { %> <% } %>