package org.apache.jsp.common.calendar; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.edeal.frontline.*; import java.util.*; import com.edeal.frontline.navigation.FlRequest; public final class calendar_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); private static java.util.List _jspx_dependants; static { _jspx_dependants = new java.util.ArrayList(1); _jspx_dependants.add("/WEB-INF/taglib.tld"); } private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody; private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody; private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody; private javax.el.ExpressionFactory _el_expressionfactory; private org.apache.AnnotationProcessor _jsp_annotationprocessor; public Object getDependants() { return _jspx_dependants; } public void _jspInit() { _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory(); _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName()); } public void _jspDestroy() { _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody.release(); _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.release(); _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.release(); } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; /****************************************************************************** * 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. ******************************************************************************/ out.write('\n'); out.write('\n'); out.write('\n'); if (_jspx_meth_fl_005fallowAnonymousAccess_005f0(_jspx_page_context)) return; out.write('\n'); final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String pYear = Utils.getRequestParameter(context, request, "calyear"); String pMonth = Utils.getRequestParameter(context, request, "calmonth"); String fldName = null; if (request.getParameter("fn") != null) { fldName = Utils.getRequestParameter(context, request, "fn"); } String formPos = "0"; if (request.getParameter("fp") != null) { formPos = Utils.getRequestParameter(context, request, "fp"); } String mois = context.getContextParameter("DefaultMonthNumber"); int _mois=Integer.parseInt(mois); FlLocale userLocale = FlLocale.getInstance(session); String dateFormat = "dd/MM/yyyy"; if (request.getParameter("df") != null) { dateFormat = Utils.getRequestParameter(context, request, "df"); } else { try { dateFormat = userLocale.getDateFormat().toPattern(); } catch (Exception e) { dateFormat = "dd/MM/yyyy"; } } String weekStartDay = "1"; try { weekStartDay = Integer.toString(userLocale.getFirstDayOfWeek() - 1); } catch (Exception e) { weekStartDay = "1"; } String dayLetter = ""; try { String[] locShortWeekdays = userLocale.getShortWeekdays(); for (int i=1 ; i <= 7 ; i++) { dayLetter += (i==1 ? "" : ", ") + "\"" + locShortWeekdays[i].substring(0, 1).toUpperCase() + "\""; } } catch (Exception e) { logger.warn("Pour les lettres des jours, pas reussi on prend le francais."); dayLetter = "\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\""; } String monthName = ""; try { String[] locMonths = userLocale.getMonths(); for (int i=0 ; i < 12 ; i++) { monthName += (i==0 ? "" : ", ") + "\"" + locMonths[i].substring(0, 1).toUpperCase() + locMonths[i].substring(1) + "\""; } } catch (Exception e) { monthName = "\"Janvier\", \"Fevrier\", \"Mars\", \"Avril\", \"Mai\", \"Juin\", \"Juillet\", \"Août\", \"Septembre\", \"Octobre\", \"Novembre\", \"Décembre\""; } String aim = flRequest.getParameter("aim"); boolean isEmbedded = "true".equals(flRequest.getParameter("embedded")); String weekLinks = Utils.getRequestParameter(context, request, "weekLinks"); if (weekLinks == null) { weekLinks = ""; } out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); if (isEmbedded) { out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write(" \n"); out.write(" \t\n"); out.write(" \n"); out.write(" \n"); out.write(" \t\n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); out.write(" \n"); if (isEmbedded) { out.write("\n"); out.write("\n"); out.write("
\n"); out.write("\t \n"); out.write("\t \n"); out.write("\t \n"); out.write("\t \n"); out.write("\t \n"); out.write("\t \n"); out.write("\t
 Novembre 2005\n"); out.write("\t \n"); out.write("\t \n"); out.write("\t \n"); out.write("\t  
\n"); out.write(" \t
"); if (_jspx_meth_fl_005fgetMessage_005f0(_jspx_page_context)) return; out.write("
\n"); } out.write('\n'); } catch (Throwable t) { if (!(t instanceof SkipPageException)){ out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) {} if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } } private boolean _jspx_meth_fl_005fallowAnonymousAccess_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:allowAnonymousAccess com.edeal.frontline.AllowAnonymousAccessTag _jspx_th_fl_005fallowAnonymousAccess_005f0 = (com.edeal.frontline.AllowAnonymousAccessTag) _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody.get(com.edeal.frontline.AllowAnonymousAccessTag.class); _jspx_th_fl_005fallowAnonymousAccess_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005fallowAnonymousAccess_005f0.setParent(null); int _jspx_eval_fl_005fallowAnonymousAccess_005f0 = _jspx_th_fl_005fallowAnonymousAccess_005f0.doStartTag(); if (_jspx_th_fl_005fallowAnonymousAccess_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody.reuse(_jspx_th_fl_005fallowAnonymousAccess_005f0); return true; } _005fjspx_005ftagPool_005ffl_005fallowAnonymousAccess_005fnobody.reuse(_jspx_th_fl_005fallowAnonymousAccess_005f0); return false; } private boolean _jspx_meth_fl_005fwebapp_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f0 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f0.setParent(null); int _jspx_eval_fl_005fwebapp_005f0 = _jspx_th_fl_005fwebapp_005f0.doStartTag(); if (_jspx_th_fl_005fwebapp_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0); return false; } private boolean _jspx_meth_fl_005fwebapp_005f1(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f1 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f1.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f1.setParent(null); int _jspx_eval_fl_005fwebapp_005f1 = _jspx_th_fl_005fwebapp_005f1.doStartTag(); if (_jspx_th_fl_005fwebapp_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1); return false; } private boolean _jspx_meth_fl_005fwebapp_005f2(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f2 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f2.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f2.setParent(null); int _jspx_eval_fl_005fwebapp_005f2 = _jspx_th_fl_005fwebapp_005f2.doStartTag(); if (_jspx_th_fl_005fwebapp_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2); return false; } private boolean _jspx_meth_fl_005fwebapp_005f3(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f3 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f3.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f3.setParent(null); int _jspx_eval_fl_005fwebapp_005f3 = _jspx_th_fl_005fwebapp_005f3.doStartTag(); if (_jspx_th_fl_005fwebapp_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3); return false; } private boolean _jspx_meth_fl_005fwebapp_005f4(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f4 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f4.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f4.setParent(null); int _jspx_eval_fl_005fwebapp_005f4 = _jspx_th_fl_005fwebapp_005f4.doStartTag(); if (_jspx_th_fl_005fwebapp_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4); return false; } private boolean _jspx_meth_fl_005fwebapp_005f5(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f5 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f5.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f5.setParent(null); int _jspx_eval_fl_005fwebapp_005f5 = _jspx_th_fl_005fwebapp_005f5.doStartTag(); if (_jspx_th_fl_005fwebapp_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5); return false; } private boolean _jspx_meth_fl_005fwebapp_005f6(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:webapp com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f6 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class); _jspx_th_fl_005fwebapp_005f6.setPageContext(_jspx_page_context); _jspx_th_fl_005fwebapp_005f6.setParent(null); int _jspx_eval_fl_005fwebapp_005f6 = _jspx_th_fl_005fwebapp_005f6.doStartTag(); if (_jspx_th_fl_005fwebapp_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f6); return true; } _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f6); return false; } private boolean _jspx_meth_fl_005fgetMessage_005f0(PageContext _jspx_page_context) throws Throwable { PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut(); // fl:getMessage com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f0 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f0.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f0.setParent(null); // /common/calendar/calendar.jsp(147,108) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setCode("L65B4F"); // /common/calendar/calendar.jsp(147,108) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setAlt("Sem."); int _jspx_eval_fl_005fgetMessage_005f0 = _jspx_th_fl_005fgetMessage_005f0.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0); return false; } }