Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\old\org\apache\jsp\common\attachment\attlist_jsp.java
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<Map<String, String>> tableData = (Vector<Map<String, String>>) 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("<div class=\"edealGrid\" style=\"edeal: v2010; width: 100%;\">\n"); out.write("\t<div id=\"grid-actions\">\n"); out.write("\t\t<table class=\"container\" width=\"100%\">\n"); out.write("\t\t\t<tbody>\n"); out.write("\t\t\t\t<tr>\n"); out.write("\t\t\t\t\t<td width=\"10%\"></td>\n"); out.write("\t\t\t\t\t<td width=\"25%\"></td>\n"); out.write("\t\t\t\t\t<td width=\"40%\" style=\"text-align: center;\"></td>\n"); out.write("\t\t\t\t\t<td width=\"15%\" style=\"text-align: right;\"></td>\n"); out.write("\t\t\t\t\t"); if (isEdit) { String colSave = "<td width='10%' style='text-align: right;'></td>"; out.write(colSave); } out.write("\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t</tbody>\n"); out.write("\t\t</table>\n"); out.write("\t</div>\n"); out.write("\t<div id=\"grid-data\" class=\"data "); out.print( reverseOrder?"reverseOrder":"" ); out.write("\">\n"); out.write("\t\t<table>\n"); out.write("\t\t\t<thead>\n"); out.write("\t\t\t\t<tr class=\"fieldline\">\n"); out.write("\t\t\t\t\t<!-- Icon -->\n"); out.write("\t\t\t\t\t<th width=\"5%\" align=\"left\">\n"); out.write("\t\t\t\t\t\t<a\n"); out.write("\t\t\t\t\t\t\thref=\"javascript:listAttachments_"); out.print(colID); out.write("('AttIcon', "); out.print(reverseOrder); out.write(", true )\">\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F1023", false, true, "Type")); out.write(" </a>\n"); out.write("\t\t\t\t\t\t"); out.print( "AttIcon".equals(orderedField)&&orderByUser?"<span class='sort-"+(reverseOrder?"desc":"asc")+"'> </span>":"" ); out.write("\n"); out.write("\t\t\t\t\t</th>\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<!-- File name -->\n"); out.write("\t\t\t\t\t<th width=\"25%\" align=\"left\">\n"); out.write("\t\t\t\t\t<a\n"); out.write("\t\t\t\t\t\t\thref=\"javascript:listAttachments_"); out.print(colID); out.write("('AttFileName', "); out.print(reverseOrder); out.write(", true )\">\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F2025", false, true, "Nom")); out.write("</a>\n"); out.write("\t\t\t\t\t\t"); out.print( "AttFileName".equals(orderedField)&&orderByUser?"<span class='sort-"+(reverseOrder?"desc":"asc")+"'> </span>":"" ); out.write("\n"); out.write("\t\t\t\t\t</th>\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<!-- File Comment -->\n"); out.write("\t\t\t\t\t<th width=\"50%\" align=\"left\">\n"); out.write("\t\t\t\t\t\t<a\n"); out.write("\t\t\t\t\t\t\thref=\"javascript:listAttachments_"); out.print(colID); out.write("('AttDesc', "); out.print(reverseOrder); out.write(", true )\">\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</a>\n"); out.write("\t\t\t\t\t\t"); out.print( "AttDesc".equals(orderedField)&&orderByUser?"<span class='sort-"+(reverseOrder?"desc":"asc")+"'> </span>":"" ); out.write("\n"); out.write("\t\t\t\t\t</th>\n"); out.write("\t\n"); out.write("\t\t\t\t\t<!-- Date -->\n"); out.write("\t\t\t\t\t<th width=\"15%\" align=\"left\">\n"); out.write("\t\t\t\t\t\t<a\n"); out.write("\t\t\t\t\t\t\thref=\"javascript:listAttachments_"); out.print(colID); out.write("('AttUpd', "); out.print(reverseOrder); out.write(", true )\">\n"); out.write("\t\t\t\t\t\t\t"); out.print(Utils.getMessage(session, "F2019", false, true, "Date")); out.write("</a>\n"); out.write("\t\t\t\t\t\t"); out.print( ("AttUpd".equals(orderedField)&&orderByUser)?"<span class='sort-"+(reverseOrder?"desc":"asc")+"'> </span>":"" ); out.write("\n"); out.write("\t\t\t\t\t</th>\n"); out.write("\t\t\t\t\t"); if (isEdit) { String colSave = "<th width='5%' align='left'></th>"; out.write(colSave); } out.write("\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t</thead>\n"); out.write("\t\t\t<tbody>\n"); out.write("\t\t\t\t"); int i = 0; for (Map<String, String> rowData : tableData) { String rowClass = (i % 2 == 0) ? "even" : "odd"; i++; String attID = rowData.get("AttID"); out.write("\n"); out.write("\t\t\t\t<tr class=\""); out.print( rowClass ); out.write(" bean\">\n"); out.write("\t\t\t\t\t<!-- Icon -->\n"); out.write("\t\t\t\t\t<td align=\"center\">\n"); out.write("\t\t\t\t\t\t<img src=\""); out.print( rowData.get("AttIconPath") ); out.write("\" alt=\""); out.print( rowData.get("AttIconFileExt") ); out.write("\" />\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<!-- File name -->\n"); out.write("\t\t\t\t\t<td>\n"); out.write("\t\t\t\t\t\t<a href=\""); if (_jspx_meth_fl_005fwebapp_005f0(_jspx_page_context)) return; out.write("/download?id="); out.print( attID ); out.write("\">\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</a>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<!-- File Comment -->\n"); out.write("\t\t\t\t\t<td>"); out.print( rowData.get("AttDesc") ); out.write("</td>\n"); out.write("\t\t\t\t\t\n"); out.write("\t\t\t\t\t<!-- Date -->\n"); out.write("\t\t\t\t\t<td align=\"left\">"); out.print( rowData.get("AttUpd") ); out.write("</td> \n"); out.write("\t\t\t\t\t"); if (isEdit) { out.write("\n"); out.write("\t\t\t\t\t<td align=\"center\">\n"); out.write("\t\t\t\t\t\t<a href=\"javascript:deleteAttachment_"); out.print( colID ); out.write('('); out.write('\''); out.print( attID ); out.write("')\">\n"); out.write("\t\t\t\t\t\t\t<img class=\"icon\" title=\""); if (_jspx_meth_fl_005fgetMessage_005f0(_jspx_page_context)) return; out.write("\" src=\"icons/ico/supprimer.gif\" />\n"); out.write("\t\t\t\t\t\t</a>\n"); out.write("\t\t\t\t\t</td>\n"); out.write("\t\t\t\t\t"); } out.write("\n"); out.write("\t\t\t\t</tr>\n"); out.write("\t\t\t\t"); } out.write("\n"); out.write("\t\t\t</tbody>\n"); out.write("\t\t</table>\n"); out.write("\t</div>\n"); out.write("\t"); } else if (!isMultival && !tableData.isEmpty()) { Map<String, String> singleRow = tableData.firstElement(); String attID = singleRow.get("AttID"); if (!isEdit) { out.write("\n"); out.write("\t<a href=\""); if (_jspx_meth_fl_005fwebapp_005f1(_jspx_page_context)) return; out.write("/download?id="); out.print( attID ); out.write('"'); out.write('>'); out.print( singleRow.get("AttFileName") ); out.write("</a>\n"); out.write("\n"); out.write("\t"); } else { out.write("\n"); out.write("\t<input class=\""); out.print( inputClass ); out.write("\" type=\"text\"\n"); out.write("\t\tvalue=\""); out.print( singleRow.get("AttFileName") ); out.write("\" onfocus=\"this.blur();\"\n"); out.write("\t\tname=\"attachment-"); out.print( colID ); out.write("\" id=\"attachment-"); out.print( colID ); out.write("\">\n"); out.write("\t"); } } else if (!isMultival && isEdit && tableData.isEmpty()) { out.write("\n"); out.write("\t<input class=\""); out.print( inputClass ); out.write("\" type=\"text\" value=\"\" onfocus=\"this.blur();\"\n"); out.write("\t\tname=\"attachment-"); out.print( colID ); out.write("\" id=\"attachment-"); out.print( colID ); out.write("\">\n"); out.write("\t"); } else if (!isEdit && tableData.isEmpty()) { out.write("\n"); out.write("\t<label>"); if (_jspx_meth_fl_005fgetMessage_005f1(_jspx_page_context)) return; out.write("</label>\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; } }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de