]> SALOME platform Git repositories - tools/siman.git/blob
Salome HOME
add65a2704453cfeea41575bac0c8d3f8fbd188c
[tools/siman.git] /
1 package org.apache.jsp.jsp;
2
3 import javax.servlet.*;
4 import javax.servlet.http.*;
5 import javax.servlet.jsp.*;
6
7 public final class readComment_jsp extends org.apache.jasper.runtime.HttpJspBase
8     implements org.apache.jasper.runtime.JspSourceDependent {
9
10   private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
11
12   private static java.util.List _jspx_dependants;
13
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;
17
18   private javax.el.ExpressionFactory _el_expressionfactory;
19   private org.apache.AnnotationProcessor _jsp_annotationprocessor;
20
21   public Object getDependants() {
22     return _jspx_dependants;
23   }
24
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());
31   }
32
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();
37   }
38
39   public void _jspService(HttpServletRequest request, HttpServletResponse response)
40         throws java.io.IOException, ServletException {
41
42     PageContext pageContext = null;
43     HttpSession session = null;
44     ServletContext application = null;
45     ServletConfig config = null;
46     JspWriter out = null;
47     Object page = this;
48     JspWriter _jspx_out = null;
49     PageContext _jspx_page_context = null;
50
51
52     try {
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();
61       _jspx_out = out;
62
63       out.write("\r\n");
64       out.write("\r\n");
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");
67       out.write("    ");
68       if (_jspx_meth_s_005fif_005f0(_jspx_page_context))
69         return;
70       out.write("\r\n");
71       out.write("  </tr>\r\n");
72       out.write("</table>");
73     } catch (Throwable t) {
74       if (!(t instanceof SkipPageException)){
75         out = _jspx_out;
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);
79       }
80     } finally {
81       _jspxFactory.releasePageContext(_jspx_page_context);
82     }
83   }
84
85   private boolean _jspx_meth_s_005fif_005f0(PageContext _jspx_page_context)
86           throws Throwable {
87     PageContext pageContext = _jspx_page_context;
88     JspWriter out = _jspx_page_context.getOut();
89     //  s:if
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();
101       }
102       do {
103         out.write("\r\n");
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))
107           return true;
108         out.write("\" border=\"none\" title=\"");
109         if (_jspx_meth_s_005ftext_005f0(_jspx_th_s_005fif_005f0, _jspx_page_context))
110           return true;
111         out.write("\" />\r\n");
112         out.write("      </td>\r\n");
113         out.write("      <td>&nbsp;</td>\r\n");
114         out.write("    ");
115         int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
116         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
117           break;
118       } while (true);
119       if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
120         out = _jspx_page_context.popBody();
121       }
122     }
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);
125       return true;
126     }
127     _005fjspx_005ftagPool_005fs_005fif_0026_005ftest.reuse(_jspx_th_s_005fif_005f0);
128     return false;
129   }
130
131   private boolean _jspx_meth_s_005furl_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fif_005f0, PageContext _jspx_page_context)
132           throws Throwable {
133     PageContext pageContext = _jspx_page_context;
134     JspWriter out = _jspx_page_context.getOut();
135     //  s:url
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);
144       return true;
145     }
146     _005fjspx_005ftagPool_005fs_005furl_0026_005fvalue_005fnobody.reuse(_jspx_th_s_005furl_005f0);
147     return false;
148   }
149
150   private boolean _jspx_meth_s_005ftext_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fif_005f0, PageContext _jspx_page_context)
151           throws Throwable {
152     PageContext pageContext = _jspx_page_context;
153     JspWriter out = _jspx_page_context.getOut();
154     //  s:text
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);
163       return true;
164     }
165     _005fjspx_005ftagPool_005fs_005ftext_0026_005fname_005fnobody.reuse(_jspx_th_s_005ftext_005f0);
166     return false;
167   }
168 }