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 viewResource_jsp extends HttpJspBase { 9 10 11 private static java.util.Vector _jspx_includes; 12 13 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_security_user_action; 14 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_set_var_value; 15 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items; 16 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value; 17 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose; 18 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test; 19 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise; 20 private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test; 21 22 public viewResource_jsp() { 23 _jspx_tagPool_ion_security_user_action = new org.apache.jasper.runtime.TagHandlerPool(); 24 _jspx_tagPool_c_set_var_value = new org.apache.jasper.runtime.TagHandlerPool(); 25 _jspx_tagPool_c_forEach_var_items = new org.apache.jasper.runtime.TagHandlerPool(); 26 _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool(); 27 _jspx_tagPool_c_choose = new org.apache.jasper.runtime.TagHandlerPool(); 28 _jspx_tagPool_c_when_test = new org.apache.jasper.runtime.TagHandlerPool(); 29 _jspx_tagPool_c_otherwise = new org.apache.jasper.runtime.TagHandlerPool(); 30 _jspx_tagPool_c_if_test = new org.apache.jasper.runtime.TagHandlerPool(); 31 } 32 33 public java.util.List getIncludes() { 34 return _jspx_includes; 35 } 36 37 public void _jspDestroy() { 38 _jspx_tagPool_ion_security_user_action.release(); 39 _jspx_tagPool_c_set_var_value.release(); 40 _jspx_tagPool_c_forEach_var_items.release(); 41 _jspx_tagPool_c_out_value.release(); 42 _jspx_tagPool_c_choose.release(); 43 _jspx_tagPool_c_when_test.release(); 44 _jspx_tagPool_c_otherwise.release(); 45 _jspx_tagPool_c_if_test.release(); 46 } 47 48 public void _jspService(HttpServletRequest request, HttpServletResponse response) 49 throws java.io.IOException , ServletException { 50 51 JspFactory _jspxFactory = null; 52 javax.servlet.jsp.PageContext pageContext = null; 53 HttpSession session = null; 54 ServletContext application = null; 55 ServletConfig config = null; 56 JspWriter out = null; 57 Object page = this; 58 JspWriter _jspx_out = null; 59 60 61 try { 62 _jspxFactory = JspFactory.getDefaultFactory(); 63 response.setContentType("text/html;charset=ISO-8859-1"); 64 pageContext = _jspxFactory.getPageContext(this, request, response, 65 null, true, 8192, true); 66 application = pageContext.getServletContext(); 67 config = pageContext.getServletConfig(); 68 session = pageContext.getSession(); 69 out = pageContext.getOut(); 70 _jspx_out = out; 71 72 out.write("\r\n"); 73 out.write("\r\n"); 74 out.write("\r\n"); 75 out.write("\r\n"); 76 out.write("\r\n\r\n"); 77 if (_jspx_meth_ion_security_0(pageContext)) 78 return; 79 out.write("\r\n\r\n"); 80 out.write("<html>\r\n\r\n"); 81 out.write("<head>\r\n "); 82 out.write("<title>viewResources"); 83 out.write("</title> \r\n "); 84 out.write("<link rel=\"stylesheet\" type=\"text/css\" HREF=\"styles/global.css\">\r\n"); 85 out.write("</head>\r\n\r\n"); 86 out.write("<!-- Body -->\r\n\r\n"); 87 out.write("<body bgcolor=\"white\" background=\"images/fond.gif\">\r\n\r\n"); 88 out.write("<table cellpadding=\"3\" cellspacing=\"3\">\r\n\t"); 89 out.write("<tr>\t\r\n\t\t"); 90 int i=0; int j=0; 91 out.write("\t\t\r\n\t\t"); 92 93 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); 94 _jspx_th_c_forEach_0.setPageContext(pageContext); 95 _jspx_th_c_forEach_0.setParent(null); 96 _jspx_th_c_forEach_0.setVar("file"); 97 _jspx_th_c_forEach_0.setItems("${files}"); 98 try { 99 int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag(); 100 if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 101 do { 102 out.write("\t\t\t\t\r\n\t\t\t"); 103 if (i>4) { 104 out.write("</tr>"); 105 out.write("<tr>"); 106 ; i=0; } 107 out.write("\r\n\t\t\t"); 108 i++; j++; 109 out.write("\t\t\t\r\n\t\t\t"); 110 out.write("<td valign=\"top\">\r\n\t\t\t\t"); 111 out.write("<table width=\"100\" height=\"120\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t\t\t\t"); 112 out.write("<tr>\r\n\t\t\t\t\t\t"); 113 out.write("<td align=\"center\" valign=\"middle\" colspan=\"2\" id=\"C"); 114 out.print(j); 115 out.write("\" style=\"border:1px solid #959595\" onmouseover=\"C"); 116 out.print(j); 117 out.write(".style.border='1px solid black';C2"); 118 out.print(j); 119 out.write(".style.color='black'\" onmouseout=\"C"); 120 out.print(j); 121 out.write(".style.border='1px solid #959595';C2"); 122 out.print(j); 123 out.write(".style.color='#4e4e4e'\">\r\n\t\t\t\t\t\t\t"); 124 out.write("<a HREF=\"resources/"); 125 if (_jspx_meth_c_out_0(_jspx_th_c_forEach_0, pageContext)) 126 return; 127 out.write("/"); 128 if (_jspx_meth_c_out_1(_jspx_th_c_forEach_0, pageContext)) 129 return; 130 out.write("\" target=\"_blank\">\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t"); 131 if (_jspx_meth_c_choose_0(_jspx_th_c_forEach_0, pageContext)) 132 return; 133 out.write("\r\n\t\t\t\t\t\t\t"); 134 out.write("</a>"); 135 out.write("</td>\r\n\t\t\t\t\t"); 136 out.write("</tr>\r\n\t\t\t\t\t"); 137 out.write("<tr>\r\n\t\t\t\t\t\t"); 138 out.write("<td id=\"C2"); 139 out.print(j); 140 out.write("\" class=\"text\" align=\"center\" height=\"15\" style=\"color:#4e4e4e;\">"); 141 if (_jspx_meth_c_out_4(_jspx_th_c_forEach_0, pageContext)) 142 return; 143 out.write("</td>\r\n\t\t\t\t\t\t"); 144 out.write("<td width=\"10\" align=\"right\" valign=\"top\">\r\n\t\t\t\t\t\t\t"); 145 if (_jspx_meth_c_if_0(_jspx_th_c_forEach_0, pageContext)) 146 return; 147 out.write("\r\n\t\t\t\t\t\t"); 148 out.write("</td>\r\n\t\t\t\t\t"); 149 out.write("</tr>\r\n\t\t\t\t"); 150 out.write("</table>\r\n\t\t\t"); 151 out.write("</td>\t\t\t\t\r\n\t\t"); 152 int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); 153 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 154 break; 155 } while (true); 156 } 157 if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 158 return; 159 } catch (Throwable _jspx_exception) { 160 _jspx_th_c_forEach_0.doCatch(_jspx_exception); 161 } finally { 162 _jspx_th_c_forEach_0.doFinally(); 163 _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0); 164 } 165 out.write("\r\n"); 166 out.write("</tr>\r\n"); 167 out.write("</table>\t\r\n\r\n"); 168 out.write("</body>\r\n\r\n"); 169 out.write("</html>\r\n"); 170 } catch (Throwable t) { 171 out = _jspx_out; 172 if (out != null && out.getBufferSize() != 0) 173 out.clearBuffer(); 174 if (pageContext != null) pageContext.handlePageException(t); 175 } finally { 176 if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); 177 } 178 } 179 180 private boolean _jspx_meth_ion_security_0(javax.servlet.jsp.PageContext pageContext) 181 throws Throwable { 182 JspWriter out = pageContext.getOut(); 183 184 org.nextime.ion.backoffice.security.SecurityTag _jspx_th_ion_security_0 = (org.nextime.ion.backoffice.security.SecurityTag) _jspx_tagPool_ion_security_user_action.get(org.nextime.ion.backoffice.security.SecurityTag.class); 185 _jspx_th_ion_security_0.setPageContext(pageContext); 186 _jspx_th_ion_security_0.setParent(null); 187 _jspx_th_ion_security_0.setAction("canAdminResources"); 188 _jspx_th_ion_security_0.setUser("${userLogin}"); 189 int _jspx_eval_ion_security_0 = _jspx_th_ion_security_0.doStartTag(); 190 if (_jspx_eval_ion_security_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 191 do { 192 out.write("\r\n\t"); 193 if (_jspx_meth_c_set_0(_jspx_th_ion_security_0, pageContext)) 194 return true; 195 out.write("\r\n"); 196 int evalDoAfterBody = _jspx_th_ion_security_0.doAfterBody(); 197 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 198 break; 199 } while (true); 200 } 201 if (_jspx_th_ion_security_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 202 return true; 203 _jspx_tagPool_ion_security_user_action.reuse(_jspx_th_ion_security_0); 204 return false; 205 } 206 207 private boolean _jspx_meth_c_set_0(javax.servlet.jsp.tagext.Tag _jspx_th_ion_security_0, javax.servlet.jsp.PageContext pageContext) 208 throws Throwable { 209 JspWriter out = pageContext.getOut(); 210 211 org.apache.taglibs.standard.tag.el.core.SetTag _jspx_th_c_set_0 = (org.apache.taglibs.standard.tag.el.core.SetTag) _jspx_tagPool_c_set_var_value.get(org.apache.taglibs.standard.tag.el.core.SetTag.class); 212 _jspx_th_c_set_0.setPageContext(pageContext); 213 _jspx_th_c_set_0.setParent(_jspx_th_ion_security_0); 214 _jspx_th_c_set_0.setValue("yes"); 215 _jspx_th_c_set_0.setVar("canAdminResources"); 216 int _jspx_eval_c_set_0 = _jspx_th_c_set_0.doStartTag(); 217 if (_jspx_th_c_set_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 218 return true; 219 _jspx_tagPool_c_set_var_value.reuse(_jspx_th_c_set_0); 220 return false; 221 } 222 223 private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 224 throws Throwable { 225 JspWriter out = pageContext.getOut(); 226 227 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); 228 _jspx_th_c_out_0.setPageContext(pageContext); 229 _jspx_th_c_out_0.setParent(_jspx_th_c_forEach_0); 230 _jspx_th_c_out_0.setValue("${selectedResources}"); 231 int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag(); 232 if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 233 return true; 234 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0); 235 return false; 236 } 237 238 private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 239 throws Throwable { 240 JspWriter out = pageContext.getOut(); 241 242 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); 243 _jspx_th_c_out_1.setPageContext(pageContext); 244 _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0); 245 _jspx_th_c_out_1.setValue("${file.name}"); 246 int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag(); 247 if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 248 return true; 249 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1); 250 return false; 251 } 252 253 private boolean _jspx_meth_c_choose_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 254 throws Throwable { 255 JspWriter out = pageContext.getOut(); 256 257 org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_choose_0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _jspx_tagPool_c_choose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class); 258 _jspx_th_c_choose_0.setPageContext(pageContext); 259 _jspx_th_c_choose_0.setParent(_jspx_th_c_forEach_0); 260 int _jspx_eval_c_choose_0 = _jspx_th_c_choose_0.doStartTag(); 261 if (_jspx_eval_c_choose_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 262 do { 263 out.write("\r\n\t\t\t\t\t\t\t\t"); 264 if (_jspx_meth_c_when_0(_jspx_th_c_choose_0, pageContext)) 265 return true; 266 out.write("\r\n\t\t\t\t\t\t\t\t"); 267 if (_jspx_meth_c_when_1(_jspx_th_c_choose_0, pageContext)) 268 return true; 269 out.write("\r\n\t\t\t\t\t\t\t\t"); 270 if (_jspx_meth_c_when_2(_jspx_th_c_choose_0, pageContext)) 271 return true; 272 out.write("\r\n\t\t\t\t\t\t\t\t"); 273 if (_jspx_meth_c_when_3(_jspx_th_c_choose_0, pageContext)) 274 return true; 275 out.write("\r\n\t\t\t\t\t\t\t\t"); 276 if (_jspx_meth_c_when_4(_jspx_th_c_choose_0, pageContext)) 277 return true; 278 out.write("\r\n\t\t\t\t\t\t\t\t"); 279 if (_jspx_meth_c_when_5(_jspx_th_c_choose_0, pageContext)) 280 return true; 281 out.write("\r\n\t\t\t\t\t\t\t\t"); 282 if (_jspx_meth_c_otherwise_0(_jspx_th_c_choose_0, pageContext)) 283 return true; 284 out.write("\r\n\t\t\t\t\t\t\t"); 285 int evalDoAfterBody = _jspx_th_c_choose_0.doAfterBody(); 286 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 287 break; 288 } while (true); 289 } 290 if (_jspx_th_c_choose_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 291 return true; 292 _jspx_tagPool_c_choose.reuse(_jspx_th_c_choose_0); 293 return false; 294 } 295 296 private boolean _jspx_meth_c_when_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 297 throws Throwable { 298 JspWriter out = pageContext.getOut(); 299 300 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_0 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 301 _jspx_th_c_when_0.setPageContext(pageContext); 302 _jspx_th_c_when_0.setParent(_jspx_th_c_choose_0); 303 _jspx_th_c_when_0.setTest("${file.extension=='gif' || file.extension=='jpg' || file.extension=='jpeg'}"); 304 int _jspx_eval_c_when_0 = _jspx_th_c_when_0.doStartTag(); 305 if (_jspx_eval_c_when_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 306 do { 307 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 308 out.write("<img SRC=\"resources/"); 309 if (_jspx_meth_c_out_2(_jspx_th_c_when_0, pageContext)) 310 return true; 311 out.write("/"); 312 if (_jspx_meth_c_out_3(_jspx_th_c_when_0, pageContext)) 313 return true; 314 out.write("?width=100&height=100\" width=\"100\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 315 int evalDoAfterBody = _jspx_th_c_when_0.doAfterBody(); 316 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 317 break; 318 } while (true); 319 } 320 if (_jspx_th_c_when_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 321 return true; 322 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_0); 323 return false; 324 } 325 326 private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 327 throws Throwable { 328 JspWriter out = pageContext.getOut(); 329 330 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); 331 _jspx_th_c_out_2.setPageContext(pageContext); 332 _jspx_th_c_out_2.setParent(_jspx_th_c_when_0); 333 _jspx_th_c_out_2.setValue("${selectedResources}"); 334 int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag(); 335 if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 336 return true; 337 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_2); 338 return false; 339 } 340 341 private boolean _jspx_meth_c_out_3(javax.servlet.jsp.tagext.Tag _jspx_th_c_when_0, javax.servlet.jsp.PageContext pageContext) 342 throws Throwable { 343 JspWriter out = pageContext.getOut(); 344 345 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); 346 _jspx_th_c_out_3.setPageContext(pageContext); 347 _jspx_th_c_out_3.setParent(_jspx_th_c_when_0); 348 _jspx_th_c_out_3.setValue("${file.name}"); 349 int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag(); 350 if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 351 return true; 352 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_3); 353 return false; 354 } 355 356 private boolean _jspx_meth_c_when_1(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 357 throws Throwable { 358 JspWriter out = pageContext.getOut(); 359 360 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_1 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 361 _jspx_th_c_when_1.setPageContext(pageContext); 362 _jspx_th_c_when_1.setParent(_jspx_th_c_choose_0); 363 _jspx_th_c_when_1.setTest("${file.extension=='pdf'}"); 364 int _jspx_eval_c_when_1 = _jspx_th_c_when_1.doStartTag(); 365 if (_jspx_eval_c_when_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 366 do { 367 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 368 out.write("<img SRC=\"images/pdf-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 369 int evalDoAfterBody = _jspx_th_c_when_1.doAfterBody(); 370 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 371 break; 372 } while (true); 373 } 374 if (_jspx_th_c_when_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 375 return true; 376 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_1); 377 return false; 378 } 379 380 private boolean _jspx_meth_c_when_2(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 381 throws Throwable { 382 JspWriter out = pageContext.getOut(); 383 384 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_2 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 385 _jspx_th_c_when_2.setPageContext(pageContext); 386 _jspx_th_c_when_2.setParent(_jspx_th_c_choose_0); 387 _jspx_th_c_when_2.setTest("${file.extension=='doc'}"); 388 int _jspx_eval_c_when_2 = _jspx_th_c_when_2.doStartTag(); 389 if (_jspx_eval_c_when_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 390 do { 391 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 392 out.write("<img SRC=\"images/doc-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 393 int evalDoAfterBody = _jspx_th_c_when_2.doAfterBody(); 394 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 395 break; 396 } while (true); 397 } 398 if (_jspx_th_c_when_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 399 return true; 400 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_2); 401 return false; 402 } 403 404 private boolean _jspx_meth_c_when_3(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 405 throws Throwable { 406 JspWriter out = pageContext.getOut(); 407 408 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_3 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 409 _jspx_th_c_when_3.setPageContext(pageContext); 410 _jspx_th_c_when_3.setParent(_jspx_th_c_choose_0); 411 _jspx_th_c_when_3.setTest("${file.extension=='zip'}"); 412 int _jspx_eval_c_when_3 = _jspx_th_c_when_3.doStartTag(); 413 if (_jspx_eval_c_when_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 414 do { 415 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 416 out.write("<img SRC=\"images/zip-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 417 int evalDoAfterBody = _jspx_th_c_when_3.doAfterBody(); 418 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 419 break; 420 } while (true); 421 } 422 if (_jspx_th_c_when_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 423 return true; 424 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_3); 425 return false; 426 } 427 428 private boolean _jspx_meth_c_when_4(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 429 throws Throwable { 430 JspWriter out = pageContext.getOut(); 431 432 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_4 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 433 _jspx_th_c_when_4.setPageContext(pageContext); 434 _jspx_th_c_when_4.setParent(_jspx_th_c_choose_0); 435 _jspx_th_c_when_4.setTest("${file.extension=='mp3' || file.extension=='wav' || file.extension=='mid'}"); 436 int _jspx_eval_c_when_4 = _jspx_th_c_when_4.doStartTag(); 437 if (_jspx_eval_c_when_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 438 do { 439 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 440 out.write("<img SRC=\"images/audio-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 441 int evalDoAfterBody = _jspx_th_c_when_4.doAfterBody(); 442 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 443 break; 444 } while (true); 445 } 446 if (_jspx_th_c_when_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 447 return true; 448 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_4); 449 return false; 450 } 451 452 private boolean _jspx_meth_c_when_5(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 453 throws Throwable { 454 JspWriter out = pageContext.getOut(); 455 456 org.apache.taglibs.standard.tag.el.core.WhenTag _jspx_th_c_when_5 = (org.apache.taglibs.standard.tag.el.core.WhenTag) _jspx_tagPool_c_when_test.get(org.apache.taglibs.standard.tag.el.core.WhenTag.class); 457 _jspx_th_c_when_5.setPageContext(pageContext); 458 _jspx_th_c_when_5.setParent(_jspx_th_c_choose_0); 459 _jspx_th_c_when_5.setTest("${file.extension=='avi' || file.extension=='mpeg' || file.extension=='mpg'}"); 460 int _jspx_eval_c_when_5 = _jspx_th_c_when_5.doStartTag(); 461 if (_jspx_eval_c_when_5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 462 do { 463 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 464 out.write("<img SRC=\"images/video-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 465 int evalDoAfterBody = _jspx_th_c_when_5.doAfterBody(); 466 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 467 break; 468 } while (true); 469 } 470 if (_jspx_th_c_when_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 471 return true; 472 _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_5); 473 return false; 474 } 475 476 private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_choose_0, javax.servlet.jsp.PageContext pageContext) 477 throws Throwable { 478 JspWriter out = pageContext.getOut(); 479 480 org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class); 481 _jspx_th_c_otherwise_0.setPageContext(pageContext); 482 _jspx_th_c_otherwise_0.setParent(_jspx_th_c_choose_0); 483 int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag(); 484 if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 485 do { 486 out.write("\r\n\t\t\t\t\t\t\t\t\t"); 487 out.write("<img SRC=\"images/unknow-file.gif\" border=\"0\" style=\"border:1px solid #ffffff\">\r\n\t\t\t\t\t\t\t\t"); 488 int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody(); 489 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 490 break; 491 } while (true); 492 } 493 if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 494 return true; 495 _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0); 496 return false; 497 } 498 499 private boolean _jspx_meth_c_out_4(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 500 throws Throwable { 501 JspWriter out = pageContext.getOut(); 502 503 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.get(org.apache.taglibs.standard.tag.el.core.OutTag.class); 504 _jspx_th_c_out_4.setPageContext(pageContext); 505 _jspx_th_c_out_4.setParent(_jspx_th_c_forEach_0); 506 _jspx_th_c_out_4.setValue("${file.name}"); 507 int _jspx_eval_c_out_4 = _jspx_th_c_out_4.doStartTag(); 508 if (_jspx_th_c_out_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 509 return true; 510 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_4); 511 return false; 512 } 513 514 private boolean _jspx_meth_c_if_0(javax.servlet.jsp.tagext.Tag _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext pageContext) 515 throws Throwable { 516 JspWriter out = pageContext.getOut(); 517 518 org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.el.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class); 519 _jspx_th_c_if_0.setPageContext(pageContext); 520 _jspx_th_c_if_0.setParent(_jspx_th_c_forEach_0); 521 _jspx_th_c_if_0.setTest("${canAdminResources != null}"); 522 int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag(); 523 if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) { 524 do { 525 out.write("\r\n\t\t\t\t\t\t\t\t"); 526 out.write("<a HREF=\"deleteResource.x?id="); 527 if (_jspx_meth_c_out_5(_jspx_th_c_if_0, pageContext)) 528 return true; 529 out.write("\" target=\"sub\">"); 530 out.write("<img SRC=\"images/poubelle.gif\" border=\"0\">"); 531 out.write("</a>\r\n\t\t\t\t\t\t\t"); 532 int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody(); 533 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) 534 break; 535 } while (true); 536 } 537 if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 538 return true; 539 _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0); 540 return false; 541 } 542 543 private boolean _jspx_meth_c_out_5(javax.servlet.jsp.tagext.Tag _jspx_th_c_if_0, javax.servlet.jsp.PageContext pageContext) 544 throws Throwable { 545 JspWriter out = pageContext.getOut(); 546 547 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); 548 _jspx_th_c_out_5.setPageContext(pageContext); 549 _jspx_th_c_out_5.setParent(_jspx_th_c_if_0); 550 _jspx_th_c_out_5.setValue("${file.name}"); 551 int _jspx_eval_c_out_5 = _jspx_th_c_out_5.doStartTag(); 552 if (_jspx_th_c_out_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) 553 return true; 554 _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_5); 555 return false; 556 } 557 } 558 | Popular Tags |