<%@page import="com.edeal.frontline.helper.InteractionBaseHelper"%> <%@page import="com.edeal.frontline.helper.custom.InteractionHelper"%> <%@page import="java.util.Map"%> <%@page import="java.util.HashMap"%> <%@page import="java.util.Vector"%> <%@page import="org.json.JSONArray"%> <%@page import="org.json.JSONObject"%> <%@page import="com.edeal.frontline.FieldNotInitializedException"%> <%@page import="com.edeal.frontline.navigation.FlRequest"%> <%@page import="com.edeal.frontline.MessagesBean"%> <%@page import="com.edeal.frontline.helper.ContextHelper"%> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% InteractionHelper interactionHelper = new InteractionHelper(Interaction); //InteractionBaseHelper interactionHelper = new InteractionBaseHelper(Interaction); JSONArray emailCorrespondantJSONObj = interactionHelper.getEmailCorrespondantCustomJSONArray(); String emailCorrespondantJSON = emailCorrespondantJSONObj!=null?emailCorrespondantJSONObj.toString():"[]"; //JSONArray emailCorrespondantJSONObj = interactionHelper.getEmailCorrespondantJSONArray(); //String emailCorrespondantJSON = emailCorrespondantJSONObj!=null?emailCorrespondantJSONObj.toString():"[]"; JSONArray emailActorJSONObj = interactionHelper.getEmailActorJSONArray(true, session); String emailActorJSON = emailActorJSONObj!=null?emailActorJSONObj.toString():"[]"; %> <% ObjectsBean actorBean = dico.getTable("sql", "Actor"); String xmlActortListID = null; try { xmlActortListID = actorBean.getObjSelectListID(); } catch (FieldNotInitializedException e) { } ObjectsBean personBean = dico.getTable("sql", "Person"); String xmlPersonListID = null; try { xmlPersonListID = personBean.getObjSelectListID(); } catch (FieldNotInitializedException e) { } %> <% try { Interaction.getIntPvtID(); %> <% } catch (FieldNotInitializedException e) { } %> <% try { Interaction.getIntAtvID(); %> <% } catch (FieldNotInitializedException e) { } String selectPersonLinkMultiple = ""; if (xmlPersonListID != null) { selectPersonLinkMultiple = "xml_select_multiple_list.fl?id=" + xmlPersonListID; } else { if (ContextHelper.hasMultifunction(context)) { selectPersonLinkMultiple = "xml_select_multiple_list.fl?code=FUNCTIONS"; } else { selectPersonLinkMultiple = "xml_select_multiple_list.fl?code=PERSON"; } } String selectActorLinkMultiple = ""; if (xmlActortListID != null) { selectActorLinkMultiple = "xml_select_multiple_list.fl?id=" + xmlActortListID; } else { selectActorLinkMultiple = "xml_select_multiple_list.fl?code=ACTOR"; } String selectCorrespondentLinkMultiple = ""; selectCorrespondentLinkMultiple = "select_correspondent.fl?multivalSeparator=|&"; %>
<% Vector> emailModels = (Vector>)request.getAttribute("emailModels"); String intRefMsgID = null; try { intRefMsgID = Interaction.getIntRefMsgID(); } catch (FieldNotInitializedException e) { } if (emailModels!=null && emailModels.size()>0) { %>
Charger le modèle" alt="" class="icon" src="/icons/ico/importer.gif"/>
<% } else { %> <% String documentFilter = "[[" + (request.getParameter("id") !=null ? "MsgObjID:ObjSql=\'Interaction\'," :"") +"MsgObjID:ObjSql=\'Person\'],[MsgType:RefVal=\'KBMODELE\']]"; %>
Charger le modèle" alt="" class="icon" src="/icons/ico/importer.gif"/>
<% } %> <% if (Boolean.valueOf(request.getParameter("loadmodel"))) { %> <% } else { %> <% } %>
"> ">