package org.apache.jsp.common.attachment; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import com.edeal.frontline.navigation.FlRequest; import com.edeal.frontline.Utils; import java.util.*; public final class attlist_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_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_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_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;charset=UTF-8"); 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; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); Vector> tableData = (Vector>) flRequest.getAttribute("tableData"); Boolean isEdit = (Boolean) flRequest.getAttribute("isEdit"); Boolean reverseOrder = !(Boolean) flRequest.getAttribute("reverseOrder"); Boolean isMultival = (Boolean) flRequest.getAttribute("isMultival"); String colID = (String) flRequest.getAttribute("colID"); Boolean isMandatory = (Boolean) flRequest.getAttribute("isMandatory"); String inputClass = isMandatory ? "input text chpsTextObligatoire" : "input text"; String orderedField = (String) flRequest.getParameter("sortBy"); Boolean orderByUser = Boolean.valueOf(flRequest.getParameter("orderByUser")); if ((tableData.size() >= 1) && isMultival) { out.write("\n"); out.write("
\n"); out.write("\t
\n"); out.write("\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t"); if (isEdit) { String colSave = ""; out.write(colSave); } out.write("\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t
\n"); out.write("\t
\n"); out.write("\t
\n"); out.write("\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t"); if (isEdit) { String colSave = ""; out.write(colSave); } out.write("\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t\t\n"); out.write("\t\t\t\t"); int i = 0; for (Map rowData : tableData) { String rowClass = (i % 2 == 0) ? "even" : "odd"; i++; String attID = rowData.get("AttID"); out.write("\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t \n"); out.write("\t\t\t\t\t"); if (isEdit) { out.write("\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\n"); out.write("\t\t
\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F1023", false, true, "Type")); out.write(" \n"); out.write("\t\t\t\t\t\t"); out.print( "AttIcon".equals(orderedField)&&orderByUser?" ":"" ); out.write("\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F2025", false, true, "Nom")); out.write("\n"); out.write("\t\t\t\t\t\t"); out.print( "AttFileName".equals(orderedField)&&orderByUser?" ":"" ); out.write("\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F6038", false, true, "Commentaire")); out.write("\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t"); out.print( "AttDesc".equals(orderedField)&&orderByUser?" ":"" ); out.write("\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F2019", false, true, "Date")); out.write("\n"); out.write("\t\t\t\t\t\t"); out.print( ("AttUpd".equals(orderedField)&&orderByUser)?" ":"" ); out.write("\n"); out.write("\t\t\t\t\t
\n"); out.write("\t\t\t\t\t\t\"");\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t"); out.print( rowData.get("AttFileName") ); out.write("\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t"); out.print( rowData.get("AttDesc") ); out.write(""); out.print( rowData.get("AttUpd") ); out.write("\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t\t\n"); out.write("\t\t\t\t\t
\n"); out.write("\t
\n"); out.write("\t"); } else if (!isMultival && !tableData.isEmpty()) { Map singleRow = tableData.firstElement(); String attID = singleRow.get("AttID"); if (!isEdit) { out.write("\n"); out.write("\t'); out.print( singleRow.get("AttFileName") ); out.write("\n"); out.write("\n"); out.write("\t"); } else { out.write("\n"); out.write("\t\n"); out.write("\t"); } } else if (!isMultival && isEdit && tableData.isEmpty()) { out.write("\n"); out.write("\t\n"); out.write("\t"); } else if (!isEdit && tableData.isEmpty()) { out.write("\n"); out.write("\t\n"); out.write("\t"); } } 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_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_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/attachment/attlist.jsp(115,32) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setCode("A0007"); // /common/attachment/attlist.jsp(115,32) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f0.setAlt("Supprimer"); 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; } 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_005fgetMessage_005f1(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_005f1 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class); _jspx_th_fl_005fgetMessage_005f1.setPageContext(_jspx_page_context); _jspx_th_fl_005fgetMessage_005f1.setParent(null); // /common/attachment/attlist.jsp(151,8) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f1.setCode("L0001"); // /common/attachment/attlist.jsp(151,8) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_fl_005fgetMessage_005f1.setAlt("Aucune entrée disponible"); int _jspx_eval_fl_005fgetMessage_005f1 = _jspx_th_fl_005fgetMessage_005f1.doStartTag(); if (_jspx_th_fl_005fgetMessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1); return true; } _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1); return false; } }