1 package org.apache.jsp.jsp;
3 import javax.servlet.*;
4 import javax.servlet.http.*;
5 import javax.servlet.jsp.*;
7 public final class readComment_jsp extends org.apache.jasper.runtime.HttpJspBase
8 implements org.apache.jasper.runtime.JspSourceDependent {
10 private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
12 private static java.util.List _jspx_dependants;
14 private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_0026_005ftest;
15 private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody;
16 private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody;
18 private javax.el.ExpressionFactory _el_expressionfactory;
19 private org.apache.AnnotationProcessor _jsp_annotationprocessor;
21 public Object getDependants() {
22 return _jspx_dependants;
25 public void _jspInit() {
26 _005fjspx_005ftagPool_005fs_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
27 _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
28 _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
29 _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
30 _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
33 public void _jspDestroy() {
34 _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.release();
35 _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody.release();
36 _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.release();
39 public void _jspService(HttpServletRequest request, HttpServletResponse response)
40 throws java.io.IOException, ServletException {
42 PageContext pageContext = null;
43 HttpSession session = null;
44 ServletContext application = null;
45 ServletConfig config = null;
48 JspWriter _jspx_out = null;
49 PageContext _jspx_page_context = null;
53 response.setContentType("text/html; charset=ISO-8859-1");
54 pageContext = _jspxFactory.getPageContext(this, request, response,
55 null, true, 8192, true);
56 _jspx_page_context = pageContext;
57 application = pageContext.getServletContext();
58 config = pageContext.getServletConfig();
59 session = pageContext.getSession();
60 out = pageContext.getOut();
65 out.write("<table width=100% cellpadding=0 cellspacing=0 border=0 class=attribute>\r\n");
66 out.write(" <tr height=22 valign=bottom>\r\n");
68 if (_jspx_meth_s_005fif_005f0(_jspx_page_context))
71 out.write(" </tr>\r\n");
72 out.write("</table>");
73 } catch (Throwable t) {
74 if (!(t instanceof SkipPageException)){
76 if (out != null && out.getBufferSize() != 0)
77 try { out.clearBuffer(); } catch (java.io.IOException e) {}
78 if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
81 _jspxFactory.releasePageContext(_jspx_page_context);
85 private boolean _jspx_meth_s_005fif_005f0(PageContext _jspx_page_context)
87 PageContext pageContext = _jspx_page_context;
88 JspWriter out = _jspx_page_context.getOut();
90 org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
91 _jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context);
92 _jspx_th_s_005fif_005f0.setParent(null);
93 // /jsp/readComment.jsp(7,4) name = test type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
94 _jspx_th_s_005fif_005f0.setTest("%{writeAccess == 'true' && stepEnabled == 'true' && userRights.canAddComment()}");
95 int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag();
96 if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
97 if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
98 out = _jspx_page_context.pushBody();
99 _jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
100 _jspx_th_s_005fif_005f0.doInitBody();
104 out.write(" <td width=20 align=center>\r\n");
105 out.write(" <img src=\"");
106 if (_jspx_meth_s_005furl_005f0(_jspx_th_s_005fif_005f0, _jspx_page_context))
108 out.write("\" border=\"none\" title=\"");
109 if (_jspx_meth_s_005ftext_005f0(_jspx_th_s_005fif_005f0, _jspx_page_context))
111 out.write("\" />\r\n");
112 out.write(" </td>\r\n");
113 out.write(" <td> </td>\r\n");
115 int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
116 if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
119 if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
120 out = _jspx_page_context.popBody();
123 if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
124 _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
127 _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
131 private boolean _jspx_meth_s_005furl_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fif_005f0, PageContext _jspx_page_context)
133 PageContext pageContext = _jspx_page_context;
134 JspWriter out = _jspx_page_context.getOut();
136 org.apache.struts2.views.jsp.URLTag _jspx_th_s_005furl_005f0 = (org.apache.struts2.views.jsp.URLTag) _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody.get(org.apache.struts2.views.jsp.URLTag.class);
137 _jspx_th_s_005furl_005f0.setPageContext(_jspx_page_context);
138 _jspx_th_s_005furl_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fif_005f0);
139 // /jsp/readComment.jsp(9,18) name = value type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
140 _jspx_th_s_005furl_005f0.setValue("/skin/icon.add.png");
141 int _jspx_eval_s_005furl_005f0 = _jspx_th_s_005furl_005f0.doStartTag();
142 if (_jspx_th_s_005furl_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
143 _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005furl_005f0);
146 _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005furl_005f0);
150 private boolean _jspx_meth_s_005ftext_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fif_005f0, PageContext _jspx_page_context)
152 PageContext pageContext = _jspx_page_context;
153 JspWriter out = _jspx_page_context.getOut();
155 org.apache.struts2.views.jsp.TextTag _jspx_th_s_005ftext_005f0 = (org.apache.struts2.views.jsp.TextTag) _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.get(org.apache.struts2.views.jsp.TextTag.class);
156 _jspx_th_s_005ftext_005f0.setPageContext(_jspx_page_context);
157 _jspx_th_s_005ftext_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fif_005f0);
158 // /jsp/readComment.jsp(9,76) name = name type = java.lang.String reqTime = false required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
159 _jspx_th_s_005ftext_005f0.setName("tooltip.addcomment");
160 int _jspx_eval_s_005ftext_005f0 = _jspx_th_s_005ftext_005f0.doStartTag();
161 if (_jspx_th_s_005ftext_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
162 _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.reuse(_jspx_th_s_005ftext_005f0);
165 _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.reuse(_jspx_th_s_005ftext_005f0);