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