%@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{ %> Global <%for(Hashtable object : objects){ String objID = object.get("MocObjID"); String objSql = object.get("MocObjID:ObjSql"); String newObjID = object.get("MocNewObjID"); if (objID == null) { objSql = objID = newObjID; } %> <%=objSql %> <%} %> <Type> <Pol. création> <%for(Vector mocPolitique : mocPolitiqueValues){ String mocPolitiqueID = mocPolitique.get(0); String mocPolitiqueValue = mocPolitique.get(1); %> <%=mocPolitiqueValue %> <%} %> <%} %> "> <%=errorMsg %> <%=query %>