<%@page session="true" import="com.edeal.frontline.*"%> <%@page import="java.util.*"%> <%@ page import="com.edeal.frontline.navigation.FlRequest"%> <%@ page import="com.edeal.frontline.MetaDataTransferBean"%> <%@page import="com.edeal.frontline.transfer.TransferInitializer"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%> <% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String errorMsg=""; String id = null; try { id = MetaDataTransfer.getID(); } catch (FieldNotInitializedException e) { } try { errorMsg = MetaDataTransfer.getMdtErrorMsg(); } catch (FieldNotInitializedException e) { } String query = null; try{ query = flRequest.getRequestParameterOrAttribute("query"); }catch(Exception e){ } if(query==null){ query = ""; } Vector objects = (Vector)flRequest.getAttribute("objects"); Vector mocPolitiqueValues = dico.getRefList("MocPolitique"); Integer total = (Integer) request.getAttribute(TransferInitializer.COUNT_ATTR); Integer applied = (Integer) request.getAttribute(TransferInitializer.APPL_ATTR); if (total == null) { total = 0; } if (applied == null) { applied = 0; } String mdtStatus = ""; try { mdtStatus = MetaDataTransfer.getMdtStatus(); mdtStatus = dico.getRefCode("MdtStatus", mdtStatus); } catch (Exception e) { } %> ">
<% String postText = ""; if ("ENCOURS".equals(mdtStatus) || "APPLIED".equals(mdtStatus)) { postText = "  (" + applied + "/" + total + " " + Utils.getMessage(session, "M2037", "appliquées") + ")"; } %>
">
<%if(objects.isEmpty()){ %> <%}else{ %>
 
      
  
           
<%} %>
"> <%=errorMsg %>