<% /****************************************************************************** * Copyright (c) 2000-2011 E-DEAL * * E-DEAL S.A. * 41, rue Périer * 92120 Montrouge * France * * T: +33 (0)1 73 03 29 80 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %> <%@page language="java" session="true" contentType="text/html; charset=UTF-8"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String id = Population.getPopID(); int popType = 0 ; try { popType = Population.getPopType(); } catch (FieldNotInitializedException ex) {} boolean hasFob1, hasFob2, hasFob3, hasFob4, hasFob5; try { hasFob1 = Population.getPopObj1() != null; } catch (FieldNotInitializedException ex) { hasFob1 = false; } try { hasFob2 = Population.getPopObj2() != null; } catch (FieldNotInitializedException ex) { hasFob2 = false; } try { hasFob3 = Population.getPopObj3() != null; } catch (FieldNotInitializedException ex) { hasFob3 = false; } try { hasFob4 = Population.getPopObj4() != null; } catch (FieldNotInitializedException ex) { hasFob4 = false; } try { hasFob5 = Population.getPopObj5() != null; } catch (FieldNotInitializedException ex) { hasFob5 = false; } String selID = null; String reqID = null; String sel2ID = null; try { selID = Population.getPopSelID(); } catch (FieldNotInitializedException ex) { } try { sel2ID = Population.getPopSe2ID(); } catch (FieldNotInitializedException fnie) { } try { reqID = Population.getPopReqID(); } catch (FieldNotInitializedException ex) { } boolean fIsPopulationInProgress=false; try { fIsPopulationInProgress=Population.isPopInProgress(); } catch (FieldNotInitializedException fnie) {} Boolean isPopParent = (Boolean)request.getAttribute("isPopParent"); String evtID = null; try { evtID = Population.getPopEvtID(); } catch (FieldNotInitializedException ex) { } %> <%if(Utils.isEmpty(lstCode)){ %> <%} else{%> <%}%> " ou="<%= \"/read_populationv2.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <% if (fIsPopulationInProgress) { %> <% } %>
"/>
"/> 
<% if (selID != null) { %> "/> <% } %> <% if (sel2ID != null) { %> "/> <% } %> " />
<% if (reqID != null) { %> <% } %> <% if (evtID != null) { %> <% } %>
 
" onselect="refreshSynthesis();">
 
<% try { if (Population.isPopIsEnt()) { %> <% } } catch (FieldNotInitializedException fnie) { } try { if (Population.isPopIsPer()) { %> <% } } catch (FieldNotInitializedException fnie) { } try { if (Population.isPopIsSil()) { %> <% } } catch (FieldNotInitializedException fnie) { } try { if (Population.isPopIsSup()) { %> <% } } catch (FieldNotInitializedException fnie) { } try { if (Population.isPopIsJou()) { %> <% } } catch (FieldNotInitializedException fnie) { } %> <% if (hasFob1) { %> <% } %> <% if (hasFob2) { %> <% } %> <% if (hasFob3) { %> <% } %> <% if (hasFob4) { %> <% } %> <% if (hasFob5) { %> <% } %>
(s) 
(s) 
(s) 
(s) 
(s) 
" onselect="refreshPopulationEntry();"> <%if(Utils.isEmpty(lstCode)){ %>
 
<%} else {%> " /> <% } %>
" onselect="refreshAddedPopulationEntry();">
 
" onselect="refreshRemovedPopulationEntry();">
 
<%if (isPopParent){ %> " onselect="refreshPopFilles();"> <%} %>