%@page session="true" %> <%@ page import="java.util.List" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.Iterator" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.MessagesBean"%> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.navigation.WebUtils"%> <%@ page import="com.edeal.frontline.DataDictionary"%> <%@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.getRequestParameterOrAttribute("id"); String sfwID = flRequest.getRequestParameterOrAttribute("SfwID"); String type = (String)flRequest.getAttribute("type"); String title = (String)flRequest.getAttribute("title"); String display = (String)flRequest.getAttribute("display"); String mailTo = (String)flRequest.getAttribute("mailTo"); //String modelType = "Person".equals(type) ? "MODELE" : "OPPMODELE"; String modelType = "MODELE"; String code ="BORDREGLCH"; String idModDefaut=null; String dispModele=null; if(code != null) { String[] fieldsQuery = {"MsgID", "MsgSubject"}; String[][] queryList = {{"MsgCode = '" + code + "'"}}; String[] orderBy = {"MsgCrDt DESC"}; Vector listRes = MessagesBean.listSummary(context, fieldsQuery, queryList); if(listRes != null && !listRes.isEmpty()) { Hashtable tab = (Hashtable)listRes.firstElement(); idModDefaut = (String)tab.get("MsgID"); dispModele = (String)tab.get("MsgSubject"); } //System.out.println("idModDefaut"+idModDefaut); //System.out.println("dispModele"+dispModele); } %> " ou=""> <%= display %> <%= title %> " > " for="MsgID"> " alt="" class="icon" src="/icons/ico/rechercher.gif"/> " alt="" class="icon" src="/icons/ico/supprimer.gif"/> " alt="" class="icon" src="/icons/ico/importer.gif"/> À ! "> ">