<% /****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * 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 session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.CampaignBean" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.ObjectsBean" %> <%@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 = null; try { id = Simulation.getID(); } catch (FieldNotInitializedException fnie) { } boolean simCalculated = false; try { simCalculated = Simulation.isSimCalculated(); } catch (FieldNotInitializedException e) { } String simDailyCoeff1, simDailyCoeff2, simDailyCoeff3, simDailyCoeff4, simDailyCoeff5, simDailyCoeff6, simDailyCoeff7; simDailyCoeff1 = simDailyCoeff2 = simDailyCoeff3 = simDailyCoeff4 = simDailyCoeff5 = simDailyCoeff6 = simDailyCoeff7 = ""; String simDailyCoeffs; try { simDailyCoeffs = Simulation.getSimDailyCoeffs(); } catch (FieldNotInitializedException e) { simDailyCoeffs = "1;1;1;1;1;0;0"; } if (simDailyCoeffs != null) { Vector dailyCoeffs = Utils.explodeList(simDailyCoeffs, ";"); if (dailyCoeffs != null && dailyCoeffs.size() > 0) { simDailyCoeff1 = (String)dailyCoeffs.elementAt(0); simDailyCoeff2 = (String)dailyCoeffs.elementAt(1); simDailyCoeff3 = (String)dailyCoeffs.elementAt(2); simDailyCoeff4 = (String)dailyCoeffs.elementAt(3); simDailyCoeff5 = (String)dailyCoeffs.elementAt(4); simDailyCoeff6 = (String)dailyCoeffs.elementAt(5); simDailyCoeff7 = (String)dailyCoeffs.elementAt(6); } } int simActorType = 1; try { simActorType = Simulation.getSimActorType(); } catch (FieldNotInitializedException e) { } int simEndParameter = 0; try { simEndParameter = Simulation.getSimEndParameter(); } catch (FieldNotInitializedException e) { } //initialisation des etapes de campagnes si besoin Vector stages = new Vector(); String initIntCpgID=null; try { initIntCpgID = Simulation.getSimIntCpgID(); CampaignBean cpg = new CampaignBean(initIntCpgID, context); stages = cpg.getCpgStgID(); } catch (FieldNotInitializedException e) { } String initIntStgID = null; try { initIntStgID = Simulation.getSimIntStgID(); } catch (FieldNotInitializedException e) { } String SimIntStiID = null; try { SimIntStiID = Simulation.getSimIntStiID(); } catch(FieldNotInitializedException e) { } String formatIncorrect = Utils.getMessage(session, "M302E", true, "Format incorrect. Veuillez corriger"); %> "> " objectTitle="<%= Utils.getMessage(session, \"L62A2\", false, true, \"Plan d\\'action\") %>" ou="<%= \"/edit_simulation.fl\" + (id != null ? \"?id=\" + id : \"\") %>">
">
onChange="resetNbActors()">
onChange="resetNbActors()">
onChange="resetNbActors()">
onChange="resetNbActors()">
">
">
" />
" maxlength="250" class="input text chpsTextObligatoire" type="text">