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 import org.nextime.ion.framework.business.*; 8 9 public class listType_jsp extends HttpJspBase { 10 11 12 private static java.util.Vector _jspx_includes; 13 14 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_insert_template; 15 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct_content; 16 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_template_put_name_direct; 17 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_iterate_scope_name_id; 18 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_property_name; 19 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_property_name_filter; 20 21 public listType_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_logic_iterate_scope_name_id = new org.apache.jasper.runtime.TagHandlerPool(); 26 _jspx_tagPool_bean_write_property_name = new org.apache.jasper.runtime.TagHandlerPool(); 27 _jspx_tagPool_bean_write_property_name_filter = new org.apache.jasper.runtime.TagHandlerPool(); 28 } 29 30 public java.util.List getIncludes() { 31 return _jspx_includes; 32 } 33 34 public void _jspDestroy() { 35 _jspx_tagPool_template_insert_template.release(); 36 _jspx_tagPool_template_put_name_direct_content.release(); 37 _jspx_tagPool_template_put_name_direct.release(); 38 _jspx_tagPool_logic_iterate_scope_name_id.release(); 39 _jspx_tagPool_bean_write_property_name.release(); 40 _jspx_tagPool_bean_write_property_name_filter.release(); 41 } 42 43 public void _jspService(HttpServletRequest request, HttpServletResponse response) 44 throws java.io.IOException , ServletException { 45 46 JspFactory _jspxFactory = null; 47 javax.servlet.jsp.PageContext pageContext = null; 48 HttpSession session = null; 49 ServletContext application = null; 50 ServletConfig config = null; 51 JspWriter out = null; 52 Object page = this; 53 JspWriter _jspx_out = null; 54 55 56 try { 57 _jspxFactory = JspFactory.getDefaultFactory(); 58 response.setContentType("text/html;charset=ISO-8859-1"); 59 pageContext = _jspxFactory.getPageContext(this, request, response, 60 null, true, 8192, true); 61 application = pageContext.getServletContext(); 62 config = pageContext.getServletConfig(); 63 session = pageContext.getSession(); 64 out = pageContext.getOut(); 65 _jspx_out = out; 66 67 out.write("\r\n"); 68 out.write("\r\n"); 69 out.write("\r\n"); 70 out.write("\r\n"); 71 out.write("\r\n\r\n"); 72 73 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); 74 _jspx_th_template_insert_0.setPageContext(pageContext); 75 _jspx_th_template_insert_0.setParent(null); 76 _jspx_th_template_insert_0.setTemplate("../template.jsp"); 77 int _jspx_eval_template_insert_0 = _jspx_th_template_insert_0.doStartTag(); 78 if (_jspx_eval_template_insert_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 79 do { 80 out.write("\r\n "); 81 if (_jspx_meth_template_put_0(_jspx_th_template_insert_0, pageContext)) 82 return; 83 out.write("\r\n "); 84 85 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); 86 _jspx_th_template_put_1.setPageContext(pageContext); 87 _jspx_th_template_put_1.setParent(_jspx_th_template_insert_0); 88 _jspx_th_template_put_1.setName("content"); 89 _jspx_th_template_put_1.setDirect("true"); 90 int _jspx_eval_template_put_1 = _jspx_th_template_put_1.doStartTag(); 91 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 92 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { 93 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody(); 94 _bc.clear(); 95 out = _bc; 96 _jspx_th_template_put_1.setBodyContent(_bc); 97 _jspx_th_template_put_1.doInitBody(); 98 } 99 do { 100 out.write(" \r\n \t \r\n\t "); 101 out.write("<img SRC=\"images/type-tile.gif\" align=\"middle\" border=\"0\">"); 102 out.write("<span class=\"titre2\">Liste des objets types de publications."); 103 out.write("</span>"); 104 out.write("<br>"); 105 out.write("<br>\r\n\t \r\n\t "); 106 out.write("<table cellpadding=\"0\" cellspacing=\"2\" width=\"100%\">\r\n\t \t"); 107 out.write("<tr>\r\n\t\t\t"); 108 out.write("<td width=\"20\">"); 109 out.write("</td>\r\n\t\t\t"); 110 out.write("<td class=\"titre-liste\"> "); 111 out.write("<b>id"); 112 out.write("</b>"); 113 out.write("</td>\t\r\n\t\t\t"); 114 out.write("<td class=\"titre-liste\"> "); 115 out.write("<b>model"); 116 out.write("</b>"); 117 out.write("</td>\r\n\t\t\t"); 118 out.write("<td class=\"titre-liste\"> "); 119 out.write("<b>styles"); 120 out.write("</b>"); 121 out.write("</td>\t\t\r\n\t\t\t"); 122 out.write("<td width=\"20\">"); 123 out.write("</td>\t\t\t\r\n\t\t"); 124 out.write("</tr>\r\n\t\t"); 125 out.write("<tr>\r\n\t\t\t"); 126 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 127 out.write("</td>\r\n\t\t\t"); 128 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 129 out.write("</td>\t\r\n\t\t\t"); 130 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 131 out.write("</td>\r\n\t\t\t"); 132 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 133 out.write("</td>\t\t\r\n\t\t\t"); 134 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 135 out.write("</td>\t\t\r\n\t\t"); 136 out.write("</tr>\r\n\t "); 137 138 org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_scope_name_id.get(org.apache.struts.taglib.logic.IterateTag.class); 139 _jspx_th_logic_iterate_0.setPageContext(pageContext); 140 _jspx_th_logic_iterate_0.setParent(_jspx_th_template_put_1); 141 _jspx_th_logic_iterate_0.setId("type"); 142 _jspx_th_logic_iterate_0.setName("types"); 143 _jspx_th_logic_iterate_0.setScope("request"); 144 int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag(); 145 if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 146 java.lang.Object type = null; 147 if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) { 148 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody(); 149 _bc.clear(); 150 out = _bc; 151 _jspx_th_logic_iterate_0.setBodyContent(_bc); 152 _jspx_th_logic_iterate_0.doInitBody(); 153 type = (java.lang.Object ) pageContext.findAttribute("type"); 154 } 155 do { 156 out.write("\r\n\t\t"); 157 out.write("<tr>\r\n\t\t\t"); 158 out.write("<td align=\"center\">"); 159 out.write("<a HREF=\"editType.x?id="); 160 if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, pageContext)) 161 return; 162 out.write("\">"); 163 out.write("<img SRC=\"images/puce.gif\" align=\"middle\" border=\"0\">"); 164 out.write("</a>"); 165 out.write("</td>\r\n\t\t\t"); 166 out.write("<td class=\"texte\"> "); 167 out.write("<a HREF=\"editType.x?id="); 168 if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, pageContext)) 169 return; 170 out.write("\">"); 171 if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, pageContext)) 172 return; 173 out.write("</a> "); 174 out.write("</td>\t\r\n\t\t\t"); 175 out.write("<td class=\"texte\" width=\"50\"> "); 176 if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_0, pageContext)) 177 return; 178 out.write(" "); 179 out.write("</td>\r\n\t\t\t"); 180 out.write("<td class=\"texte\" width=\"50\"> "); 181 if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, pageContext)) 182 return; 183 out.write(" "); 184 out.write("</td>\t\t\t\r\n\t\t\t"); 185 out.write("<td align=\"center\">"); 186 out.write("<a HREF=\"delType.x?id="); 187 if (_jspx_meth_bean_write_5(_jspx_th_logic_iterate_0, pageContext)) 188 return; 189 out.write("\">"); 190 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\">"); 191 out.write("</a>"); 192 out.write("</td>\t\t\r\n\t\t"); 193 out.write("</tr>\r\n\t\t"); 194 out.write("<tr>\r\n\t\t\t"); 195 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 196 out.write("</td>\r\n\t\t\t"); 197 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 198 out.write("</td>\r\n\t\t\t"); 199 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 200 out.write("</td>\r\n\t\t\t"); 201 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 202 out.write("</td>\r\n\t\t\t"); 203 out.write("<td height=\"1\" bgcolor=\"#949494\">"); 204 out.write("</td>\t\t\t\t\t\t\r\n\t\t"); 205 out.write("</tr>\r\n\t "); 206 int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody(); 207 type = (java.lang.Object ) pageContext.findAttribute("type"); 208 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 209 break; 210 } while (true); 211 if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) 212 out = pageContext.popBody(); 213 } 214 if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 215 return; 216 _jspx_tagPool_logic_iterate_scope_name_id.reuse(_jspx_th_logic_iterate_0); 217 out.write("\r\n\t "); 218 out.write("</table>\t\r\n\t "); 219 out.write("<br>"); 220 out.write("<br>\r\n\t "); 221 out.write("<img SRC=\"images/etoile.gif\" align=\"absmiddle\"> "); 222 out.write("<a HREF=\"addType.x\">créer un nouvel objet"); 223 out.write("</a>. \r\n\t \r\n\t\r\n "); 224 int evalDoAfterBody = _jspx_th_template_put_1.doAfterBody(); 225 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 226 break; 227 } while (true); 228 if (_jspx_eval_template_put_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) 229 out = pageContext.popBody(); 230 } 231 if (_jspx_th_template_put_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 232 return; 233 _jspx_tagPool_template_put_name_direct.reuse(_jspx_th_template_put_1); 234 out.write("\r\n"); 235 int evalDoAfterBody = _jspx_th_template_insert_0.doAfterBody(); 236 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 237 break; 238 } while (true); 239 } 240 if (_jspx_th_template_insert_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 241 return; 242 _jspx_tagPool_template_insert_template.reuse(_jspx_th_template_insert_0); 243 out.write("\r\n"); 244 } catch (Throwable t) { 245 out = _jspx_out; 246 if (out != null && out.getBufferSize() != 0) 247 out.clearBuffer(); 248 if (pageContext != null) pageContext.handlePageException(t); 249 } finally { 250 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 251 } 252 } 253 254 private boolean _jspx_meth_template_put_0(javax.servlet.jsp.tagext.Tag _jspx_th_template_insert_0, javax.servlet.jsp.PageContext pageContext) 255 throws Throwable { 256 JspWriter out = pageContext.getOut(); 257 258 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); 259 _jspx_th_template_put_0.setPageContext(pageContext); 260 _jspx_th_template_put_0.setParent(_jspx_th_template_insert_0); 261 _jspx_th_template_put_0.setName("label"); 262 _jspx_th_template_put_0.setContent("Types de publications"); 263 _jspx_th_template_put_0.setDirect("true"); 264 int _jspx_eval_template_put_0 = _jspx_th_template_put_0.doStartTag(); 265 if (_jspx_th_template_put_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 266 return true; 267 _jspx_tagPool_template_put_name_direct_content.reuse(_jspx_th_template_put_0); 268 return false; 269 } 270 271 private boolean _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 272 throws Throwable { 273 JspWriter out = pageContext.getOut(); 274 275 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class); 276 _jspx_th_bean_write_0.setPageContext(pageContext); 277 _jspx_th_bean_write_0.setParent(_jspx_th_logic_iterate_0); 278 _jspx_th_bean_write_0.setName("type"); 279 _jspx_th_bean_write_0.setProperty("id"); 280 int _jspx_eval_bean_write_0 = _jspx_th_bean_write_0.doStartTag(); 281 if (_jspx_th_bean_write_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 282 return true; 283 _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_0); 284 return false; 285 } 286 287 private boolean _jspx_meth_bean_write_1(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 288 throws Throwable { 289 JspWriter out = pageContext.getOut(); 290 291 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_1 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class); 292 _jspx_th_bean_write_1.setPageContext(pageContext); 293 _jspx_th_bean_write_1.setParent(_jspx_th_logic_iterate_0); 294 _jspx_th_bean_write_1.setName("type"); 295 _jspx_th_bean_write_1.setProperty("id"); 296 int _jspx_eval_bean_write_1 = _jspx_th_bean_write_1.doStartTag(); 297 if (_jspx_th_bean_write_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 298 return true; 299 _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_1); 300 return false; 301 } 302 303 private boolean _jspx_meth_bean_write_2(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 304 throws Throwable { 305 JspWriter out = pageContext.getOut(); 306 307 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_2 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class); 308 _jspx_th_bean_write_2.setPageContext(pageContext); 309 _jspx_th_bean_write_2.setParent(_jspx_th_logic_iterate_0); 310 _jspx_th_bean_write_2.setName("type"); 311 _jspx_th_bean_write_2.setProperty("id"); 312 int _jspx_eval_bean_write_2 = _jspx_th_bean_write_2.doStartTag(); 313 if (_jspx_th_bean_write_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 314 return true; 315 _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_2); 316 return false; 317 } 318 319 private boolean _jspx_meth_bean_write_3(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 320 throws Throwable { 321 JspWriter out = pageContext.getOut(); 322 323 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_3 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name_filter.get(org.apache.struts.taglib.bean.WriteTag.class); 324 _jspx_th_bean_write_3.setPageContext(pageContext); 325 _jspx_th_bean_write_3.setParent(_jspx_th_logic_iterate_0); 326 _jspx_th_bean_write_3.setName("type"); 327 _jspx_th_bean_write_3.setProperty("modelState"); 328 _jspx_th_bean_write_3.setFilter(false); 329 int _jspx_eval_bean_write_3 = _jspx_th_bean_write_3.doStartTag(); 330 if (_jspx_th_bean_write_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 331 return true; 332 _jspx_tagPool_bean_write_property_name_filter.reuse(_jspx_th_bean_write_3); 333 return false; 334 } 335 336 private boolean _jspx_meth_bean_write_4(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 337 throws Throwable { 338 JspWriter out = pageContext.getOut(); 339 340 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_4 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name_filter.get(org.apache.struts.taglib.bean.WriteTag.class); 341 _jspx_th_bean_write_4.setPageContext(pageContext); 342 _jspx_th_bean_write_4.setParent(_jspx_th_logic_iterate_0); 343 _jspx_th_bean_write_4.setName("type"); 344 _jspx_th_bean_write_4.setProperty("stylesState"); 345 _jspx_th_bean_write_4.setFilter(false); 346 int _jspx_eval_bean_write_4 = _jspx_th_bean_write_4.doStartTag(); 347 if (_jspx_th_bean_write_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 348 return true; 349 _jspx_tagPool_bean_write_property_name_filter.reuse(_jspx_th_bean_write_4); 350 return false; 351 } 352 353 private boolean _jspx_meth_bean_write_5(javax.servlet.jsp.tagext.Tag _jspx_th_logic_iterate_0, javax.servlet.jsp.PageContext pageContext) 354 throws Throwable { 355 JspWriter out = pageContext.getOut(); 356 357 org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_5 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name.get(org.apache.struts.taglib.bean.WriteTag.class); 358 _jspx_th_bean_write_5.setPageContext(pageContext); 359 _jspx_th_bean_write_5.setParent(_jspx_th_logic_iterate_0); 360 _jspx_th_bean_write_5.setName("type"); 361 _jspx_th_bean_write_5.setProperty("id"); 362 int _jspx_eval_bean_write_5 = _jspx_th_bean_write_5.doStartTag(); 363 if (_jspx_th_bean_write_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 364 return true; 365 _jspx_tagPool_bean_write_property_name.reuse(_jspx_th_bean_write_5); 366 return false; 367 } 368 } 369 | Popular Tags |