1 package org.apache.jsp; 2 3 import javax.servlet.*; 4 import javax.servlet.http.*; 5 import javax.servlet.jsp.*; 6 import org.apache.jasper.runtime.*; 7 8 public class listPubli_jsp extends HttpJspBase { 9 10 11 private static java.util.Vector _jspx_includes; 12 13 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_insert_template; 14 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct_content; 15 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct; 16 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key; 17 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; 18 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value; 19 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value_escapeXml; 20 21 public listPubli_jsp() { 22 _jspx_tagPool_template_insert_template = new org.apache.jasper.runtime.TagHandlerPool(); 23 _jspx_tagPool_template_put_name_direct_content = new org.apache.jasper.runtime.TagHandlerPool(); 24 _jspx_tagPool_template_put_name_direct = new org.apache.jasper.runtime.TagHandlerPool(); 25 _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool(); 26 _jspx_tagPool_c_forEach_var_items = new org.apache.jasper.runtime.TagHandlerPool(); 27 _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool(); 28 _jspx_tagPool_c_out_value_escapeXml = new org.apache.jasper.runtime.TagHandlerPool(); 29 } 30 31 public java.util.List getIncludes() { 32 return _jspx_includes; 33 } 34 35 public void _jspDestroy() { 36 _jspx_tagPool_template_insert_template.release(); 37 _jspx_tagPool_template_put_name_direct_content.release(); 38 _jspx_tagPool_template_put_name_direct.release(); 39 _jspx_tagPool_bean_message_key.release(); 40 _jspx_tagPool_c_forEach_var_items.release(); 41 _jspx_tagPool_c_out_value.release(); 42 _jspx_tagPool_c_out_value_escapeXml.release(); 43 } 44 45 public void _jspService(HttpServletRequest request, HttpServletResponse response) 46 throws java.io.IOException , ServletException { 47 48 JspFactory _jspxFactory = null; 49 javax.servlet.jsp.PageContext pageContext = null; 50 HttpSession session = null; 51 ServletContext application = null; 52 ServletConfig config = null; 53 JspWriter out = null; 54 Object page = this; 55 JspWriter _jspx_out = null; 56 57 58 try { 59 _jspxFactory = JspFactory.getDefaultFactory(); 60 response.setContentType("text/html;charset=ISO-8859-1"); 61 pageContext = _jspxFactory.getPageContext(this, request, response, 62 null, true, 8192, true); 63 application = pageContext.getServletContext(); 64 config = pageContext.getServletConfig(); 65 session = pageContext.getSession(); 66 out = pageContext.getOut(); 67 _jspx_out = out; 68 69 out.write("\r\n"); 70 out.write("\r\n"); 71 out.write("\r\n"); 72 out.write("\r\n\r\n"); 73 74 org.apache.struts.taglib.template.InsertTag _jspx_th_template_insert_0 = (org.apache.struts.taglib.template.InsertTag) _jspx_tagPool_template_insert_template.get(org.apache.struts.taglib.template.InsertTag.class); 75 _jspx_th_template_insert_0.setPageContext(pageContext); 76 _jspx_th_template_insert_0.setParent(null); 77 _jspx_th_template_insert_0.setTemplate("../template.jsp"); 78 int _jspx_eval_template_insert_0 = _jspx_th_template_insert_0.doStartTag(); 79 if (_jspx_eval_template_insert_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 80 do { 81 out.write("\r\n "); 82 if (_jspx_meth_template_put_0(_jspx_th_template_insert_0, pageContext)) 83 return; 84 out.write("\r\n "); 85 86 org.apache.struts.taglib.template.PutTag _jspx_th_template_put_1 = (org.apache.struts.taglib.template.PutTag) _jspx_tagPool_template_put_name_direct.get(org.apache.struts.taglib.template.PutTag.class); 87 _jspx_th_template_put_1.setPageContext(pageContext); 88 _jspx_th_template_put_1.setParent(_jspx_th_template_insert_0); 89 _jspx_th_template_put_1.setName("content"); 90 _jspx_th_template_put_1.setDirect("true"); 91 int _jspx_eval_template_put_1 = _jspx_th_template_put_1.doStartTag(); 92 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 93 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { 94 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody(); 95 _bc.clear(); 96 out = _bc; 97 _jspx_th_template_put_1.setBodyContent(_bc); 98 _jspx_th_template_put_1.doInitBody(); 99 } 100 do { 101 out.write(" \r\n \r\n \t"); 102 out.write("<img SRC=\"images/publi-tile.gif\" align=\"middle\" border=\"0\">"); 103 out.write("<span class=\"titre2\">"); 104 if (_jspx_meth_bean_message_0(_jspx_th_template_put_1, pageContext)) 105 return; 106 out.write("</span>"); 107 out.write("<br>"); 108 out.write("<br>\r\n\t\r\n\t"); 109 out.write("<table cellpadding=\"0\" cellspacing=\"2\" width=\"100%\">\r\n\t \t"); 110 out.write("<tr>\r\n\t\t\t"); 111 out.write("<td width=\"20\">"); 112 out.write("</td>\r\n\t\t\t"); 113 out.write("<td class=\"titre-liste\"> "); 114 out.write("<b>id"); 115 out.write("</b>"); 116 out.write("</td>\t\t\t\r\n\t\t\t"); 117 out.write("<td class=\"titre-liste\"> "); 118 out.write("<b>type"); 119 out.write("</b>"); 120 out.write("</td>\r\n\t\t\t"); 121 out.write("<td class=\"titre-liste\"> "); 122 out.write("<b>versions"); 123 out.write("</b>"); 124 out.write("</td>\t\t\t\r\n\t\t\t"); 125 out.write("<td width=\"20\">"); 126 out.write("</td>\t\t\t\r\n\t\t"); 127 out.write("</tr>\r\n\t\t"); 128 out.write("<tr>\r\n\t\t\t"); 129 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 130 out.write("</td>\r\n\t\t\t"); 131 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 132 out.write("</td>\t\t\t\t\r\n\t\t\t"); 133 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 134 out.write("</td>\r\n\t\t\t"); 135 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 136 out.write("</td>\t\t\t\t\t\r\n\t\t\t"); 137 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 138 out.write("</td>\t\t\r\n\t\t"); 139 out.write("</tr>\r\n\t "); 140 141 org.apache.taglibs.standard.tag.el.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.el.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.el.core.ForEachTag.class); 142 _jspx_th_c_forEach_0.setPageContext(pageContext); 143 _jspx_th_c_forEach_0.setParent(_jspx_th_template_put_1); 144 _jspx_th_c_forEach_0.setVar("publi"); 145 _jspx_th_c_forEach_0.setItems("${publis}"); 146 try { 147 int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); 148 if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 149 do { 150 out.write("\r\n\t\t"); 151 out.write("<tr>\r\n\t\t\t"); 152 out.write("<td align=\"center\">"); 153 out.write("<a HREF=\"editPubli.x?id="); 154 if (_jspx_meth_c_out_0(_jspx_th_c_forEach_0, pageContext)) 155 return; 156 out.write("\">"); 157 out.write("<img SRC=\"images/puce.gif\" align=\"middle\" border=\"0\">"); 158 out.write("</a>"); 159 out.write("</td>\r\n\t\t\t"); 160 out.write("<td class=\"texte\"> "); 161 out.write("<a HREF=\"editPubli.x?id="); 162 if (_jspx_meth_c_out_1(_jspx_th_c_forEach_0, pageContext)) 163 return; 164 out.write("\">"); 165 if (_jspx_meth_c_out_2(_jspx_th_c_forEach_0, pageContext)) 166 return; 167 out.write("</a> "); 168 out.write("</td>\r\n\t\t\t"); 169 out.write("<td class=\"texte\"> "); 170 if (_jspx_meth_c_out_3(_jspx_th_c_forEach_0, pageContext)) 171 return; 172 out.write(" "); 173 out.write("</td>\t\r\n\t\t\t"); 174 out.write("<td class=\"texte\"> "); 175 if (_jspx_meth_c_out_4(_jspx_th_c_forEach_0, pageContext)) 176 return; 177 out.write(" "); 178 out.write("</td>\r\n\t\t\t"); 179 out.write("<td align=\"center\">"); 180 out.write("<a HREF=\"delPubli.x?id="); 181 if (_jspx_meth_c_out_5(_jspx_th_c_forEach_0, pageContext)) 182 return; 183 out.write("\">"); 184 out.write("<img SRC=\"images/croix-fade.gif\" onmouseover=\"this.src='images/croix.gif'\" onmouseout=\"this.src='images/croix-fade.gif'\" align=\"middle\" border=\"0\">"); 185 out.write("</a>"); 186 out.write("</td>\t\t\t\t\r\n\t\t"); 187 out.write("</tr>\r\n\t\t"); 188 out.write("<tr>\r\n\t\t\t"); 189 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 190 out.write("</td>\r\n\t\t\t"); 191 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 192 out.write("</td>\r\n\t\t\t"); 193 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 194 out.write("</td>\r\n\t\t\t"); 195 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 196 out.write("</td>\t\t\t\t\r\n\t\t\t"); 197 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 198 out.write("</td>\t\t\t\r\n\t\t"); 199 out.write("</tr>\r\n\t "); 200 int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); 201 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 202 break; 203 } while (true); 204 } 205 if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 206 return; 207 } catch (Throwable _jspx_exception) { 208 _jspx_th_c_forEach_0.doCatch(_jspx_exception); 209 } finally { 210 _jspx_th_c_forEach_0.doFinally(); 211 _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); 212 } 213 out.write("\r\n\t "); 214 out.write("</table>\r\n\t "); 215 out.write("<br>"); 216 out.write("<br>\r\n\t "); 217 out.write("<img SRC=\"images/etoile.gif\" align=\"absmiddle\"> "); 218 out.write("<a HREF=\"addPubli.x\">"); 219 if (_jspx_meth_bean_message_1(_jspx_th_template_put_1, pageContext)) 220 return; 221 out.write("</a>.\r\n\t \r\n "); 222 int evalDoAfterBody = _jspx_th_template_put_1.doAfterBody(); 223 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 224 break; 225 } while (true); 226 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) 227 out = pageContext.popBody(); 228 } 229 if (_jspx_th_template_put_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 230 return; 231 _jspx_tagPool_template_put_name_direct.reuse(_jspx_th_template_put_1); 232 out.write("\r\n"); 233 int evalDoAfterBody = _jspx_th_template_insert_0.doAfterBody(); 234 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 235 break; 236 } while (true); 237 } 238 if (_jspx_th_template_insert_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 239 return; 240 _jspx_tagPool_template_insert_template.reuse(_jspx_th_template_insert_0); 241 out.write("\r\n"); 242 } catch (Throwable t) { 243 out = _jspx_out; 244 if (out != null && out.getBufferSize() != 0) 245 out.clearBuffer(); 246 if (pageContext != null) pageContext.handlePageException(t); 247 } finally { 248 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 249 } 250 } 251 252 private boolean _jspx_meth_template_put_0(javax.servlet.jsp.tagext.Tag _jspx_th_template_insert_0, javax.servlet.jsp.PageContext pageContext) 253 throws Throwable { 254 JspWriter out = pageContext.getOut(); 255 256 org.apache.struts.taglib.template.PutTag _jspx_th_template_put_0 = (org.apache.struts.taglib.template.PutTag) _jspx_tagPool_template_put_name_direct_content.get(org.apache.struts.taglib.template.PutTag.class); 257 _jspx_th_template_put_0.setPageContext(pageContext); 258 _jspx_th_template_put_0.setParent(_jspx_th_template_insert_0); 259 _jspx_th_template_put_0.setName("label"); 260 _jspx_th_template_put_0.setContent("Publications"); 261 _jspx_th_template_put_0.setDirect("true"); 262 int _jspx_eval_template_put_0 = _jspx_th_template_put_0.doStartTag(); 263 if (_jspx_th_template_put_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 264 return true; 265 _jspx_tagPool_template_put_name_direct_content.reuse(_jspx_th_template_put_0); 266 return false; 267 } 268 269 private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.Tag _jspx_th_template_put_1, javax.servlet.jsp.PageContext pageContext) 270 throws Throwable { 271 JspWriter out = pageContext.getOut(); 272 273 org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class); 274 _jspx_th_bean_message_0.setPageContext(pageContext); 275 _jspx_th_bean_message_0.setParent(_jspx_th_template_put_1); 276 _jspx_th_bean_message_0.setKey("publi.listPubli.headline"); 277 int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag(); 278 if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 279 return true; 280 _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0); 281 return false; 282 } 283 284 private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 285 throws Throwable { 286 JspWriter out = pageContext.getOut(); 287 288 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_0 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 289 _jspx_th_c_out_0.setPageContext(pageContext); 290 _jspx_th_c_out_0.setParent(_jspx_th_c_forEach_0); 291 _jspx_th_c_out_0.setValue("${publi.id}"); 292 int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag(); 293 if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 294 return true; 295 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0); 296 return false; 297 } 298 299 private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 300 throws Throwable { 301 JspWriter out = pageContext.getOut(); 302 303 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_1 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 304 _jspx_th_c_out_1.setPageContext(pageContext); 305 _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0); 306 _jspx_th_c_out_1.setValue("${publi.id}"); 307 int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag(); 308 if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 309 return true; 310 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1); 311 return false; 312 } 313 314 private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 315 throws Throwable { 316 JspWriter out = pageContext.getOut(); 317 318 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_2 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 319 _jspx_th_c_out_2.setPageContext(pageContext); 320 _jspx_th_c_out_2.setParent(_jspx_th_c_forEach_0); 321 _jspx_th_c_out_2.setValue("${publi.id}"); 322 int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag(); 323 if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 324 return true; 325 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_2); 326 return false; 327 } 328 329 private boolean _jspx_meth_c_out_3(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 330 throws Throwable { 331 JspWriter out = pageContext.getOut(); 332 333 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_3 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 334 _jspx_th_c_out_3.setPageContext(pageContext); 335 _jspx_th_c_out_3.setParent(_jspx_th_c_forEach_0); 336 _jspx_th_c_out_3.setValue("${publi.type.id}"); 337 int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag(); 338 if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 339 return true; 340 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_3); 341 return false; 342 } 343 344 private boolean _jspx_meth_c_out_4(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 345 throws Throwable { 346 JspWriter out = pageContext.getOut(); 347 348 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_4 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value_escapeXml.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 349 _jspx_th_c_out_4.setPageContext(pageContext); 350 _jspx_th_c_out_4.setParent(_jspx_th_c_forEach_0); 351 _jspx_th_c_out_4.setValue("${publi.lastVersion.version}"); 352 _jspx_th_c_out_4.setEscapeXml("false"); 353 int _jspx_eval_c_out_4 = _jspx_th_c_out_4.doStartTag(); 354 if (_jspx_th_c_out_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 355 return true; 356 _jspx_tagPool_c_out_value_escapeXml.reuse(_jspx_th_c_out_4); 357 return false; 358 } 359 360 private boolean _jspx_meth_c_out_5(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 361 throws Throwable { 362 JspWriter out = pageContext.getOut(); 363 364 org.apache.taglibs.standard.tag.el.core.OutTag _jspx_th_c_out_5 = (org.apache.taglibs.standard.tag.el.core.OutTag) _jspx_tagPool_c_out_value.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 365 _jspx_th_c_out_5.setPageContext(pageContext); 366 _jspx_th_c_out_5.setParent(_jspx_th_c_forEach_0); 367 _jspx_th_c_out_5.setValue("${publi.id}"); 368 int _jspx_eval_c_out_5 = _jspx_th_c_out_5.doStartTag(); 369 if (_jspx_th_c_out_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 370 return true; 371 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_5); 372 return false; 373 } 374 375 private boolean _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.Tag _jspx_th_template_put_1, javax.servlet.jsp.PageContext pageContext) 376 throws Throwable { 377 JspWriter out = pageContext.getOut(); 378 379 org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class); 380 _jspx_th_bean_message_1.setPageContext(pageContext); 381 _jspx_th_bean_message_1.setParent(_jspx_th_template_put_1); 382 _jspx_th_bean_message_1.setKey("publi.listPubli.newpubli"); 383 int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag(); 384 if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 385 return true; 386 _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_1); 387 return false; 388 } 389 } 390 | Popular Tags |