<%@page import="java.util.List"%> <%@page import="java.util.ArrayList"%> <% /****************************************************************************** * Copyright (c) 2000-2004 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.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.EnterpriseBean" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.ActorBean" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.LicenceManager" %> <%@ page import="com.edeal.frontline.SiteBean" %> <%@ page import="com.edeal.frontline.MenuByRoleBean" %> <%@ page import="com.edeal.frontline.MenuBean" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page isELIgnored="false"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <% List task = new ArrayList(); 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 params = ""; try { params = FlTask.getTskParameters(); } catch (FieldNotInitializedException e) {} String id = null; try { id = FlTask.getID(); } catch (FieldNotInitializedException e) {} String valCode = "HOURLY"; String valID = dico.getRefIdByCode("TskRepetition" , valCode); try { valID = (String) FlTask.getTskRepetition(); valCode = dico.getRefCode("TskRepetition" , valID); } catch (FieldNotInitializedException fex) {} String nbRowSpan = ""; if ("HOURLY".equals(valCode) || "MONTHLY_B".equals(valCode) || "YEARLY_B".equals(valCode)) nbRowSpan = "6"; else if ("DAILY_A".equals(valCode) || "DAILY_B".equals(valCode) || "MONTHLY_A".equals(valCode)) nbRowSpan = "4"; else if ("WEEKLY".equals(valCode) || "YEARLY_A".equals(valCode)) nbRowSpan = "5"; // Je prépare mes radios boutons pour le type de répétition // Je ne peux pas utiliser " + curDisp + "
"; } %> " ou="<%= \"/edit_fltask.fl\" + (id != null ? \"?id=\" + id : \"\") %>">
"> <% if("HOURLY".equals(valCode)) { %> <% } else if ("DAILY_A".equals(valCode)) { %> <% } else if ("DAILY_B".equals(valCode)) { %> <% } else if ("WEEKLY".equals(valCode)) { %> <% } else if ("MONTHLY_A".equals(valCode)) { %> <% } else if ("MONTHLY_B".equals(valCode)) { %> <% } else if ("YEARLY_A".equals(valCode)) { %> <% } else if("YEARLY_B".equals(valCode)) { %> <% } %>
<%= radios %>
" class="input chpsTextObligatoire" onBlur="ctrlNumField(this , 'integer','')">
" class="chpsTextObligatoire" size="10" onblur="ctrlHourField(this, '');">
" size="10" onblur="ctrlHourField(this, '');">
" size="10" onBlur="ctrlNumField(this , 'integer','')">
" size="10" onblur="ctrlHourField(this, '');">
" size="10" onblur="ctrlHourField(this, '');">
" size="10" onBlur="ctrlNumField(this , 'integer','')">
" size="10" onblur="ctrlHourField(this, '');">
" size="10" onBlur="ctrlNumField(this , 'integer','')">
" size="10" onblur="ctrlHourField(this, '');">
<% String txtDayOfMonth = ""; try { int intDayOfMonth = FlTask.getTskDayOfMonth(); txtDayOfMonth = Integer.toString(intDayOfMonth); } catch (FieldNotInitializedException fnie) { } %>
" size="10" onBlur="ctrlNumField(this , 'integer','')">
" size="10" onblur="ctrlHourField(this, '');">
" size="10" onblur="ctrlHourField(this, '');">
<% String txtDayOfMonth2 = ""; try { int intDayOfMonth2 = FlTask.getTskDayOfMonth(); txtDayOfMonth2 = Integer.toString(intDayOfMonth2); } catch (FieldNotInitializedException fnie) { } %>
<% String txtMonthOfYear = ""; try { int intMonthOfYear = FlTask.getTskMonthOfYear(); txtMonthOfYear = Integer.toString(intMonthOfYear); } catch (FieldNotInitializedException fnie) { } %>
" size="10" onblur="ctrlHourField(this, '');">
<% String txtMonthOfYear2 = ""; try { int intMonthOfYear2 = FlTask.getTskMonthOfYear(); txtMonthOfYear2 = Integer.toString(intMonthOfYear2); } catch (FieldNotInitializedException fnie) { } %>
<% /****************************************************************************** * * * m.ichahane@e-deal.ma : 2006/08/17 14:57:30 : Mustapha * * *****************************************************************************/ %>