KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jsp > search_jsp


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 search_jsp extends HttpJspBase {
9
10
11   private static java.util.Vector JavaDoc _jspx_includes;
12
13   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_message_key;
14   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
15   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value;
16   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
17   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ion_security_user_action;
18   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose;
19   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test;
20   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
21   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_set_var_value_scope;
22   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_set_var_value;
23   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_remove_var;
24   private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise;
25
26   public search_jsp() {
27     _jspx_tagPool_bean_message_key = new org.apache.jasper.runtime.TagHandlerPool();
28     _jspx_tagPool_c_forEach_var_items = new org.apache.jasper.runtime.TagHandlerPool();
29     _jspx_tagPool_c_out_value = new org.apache.jasper.runtime.TagHandlerPool();
30     _jspx_tagPool_c_if_test = new org.apache.jasper.runtime.TagHandlerPool();
31     _jspx_tagPool_ion_security_user_action = new org.apache.jasper.runtime.TagHandlerPool();
32     _jspx_tagPool_c_choose = new org.apache.jasper.runtime.TagHandlerPool();
33     _jspx_tagPool_c_when_test = new org.apache.jasper.runtime.TagHandlerPool();
34     _jspx_tagPool_c_forEach_varStatus_var_items = new org.apache.jasper.runtime.TagHandlerPool();
35     _jspx_tagPool_c_set_var_value_scope = new org.apache.jasper.runtime.TagHandlerPool();
36     _jspx_tagPool_c_set_var_value = new org.apache.jasper.runtime.TagHandlerPool();
37     _jspx_tagPool_c_remove_var = new org.apache.jasper.runtime.TagHandlerPool();
38     _jspx_tagPool_c_otherwise = new org.apache.jasper.runtime.TagHandlerPool();
39   }
40
41   public java.util.List JavaDoc getIncludes() {
42     return _jspx_includes;
43   }
44
45   public void _jspDestroy() {
46     _jspx_tagPool_bean_message_key.release();
47     _jspx_tagPool_c_forEach_var_items.release();
48     _jspx_tagPool_c_out_value.release();
49     _jspx_tagPool_c_if_test.release();
50     _jspx_tagPool_ion_security_user_action.release();
51     _jspx_tagPool_c_choose.release();
52     _jspx_tagPool_c_when_test.release();
53     _jspx_tagPool_c_forEach_varStatus_var_items.release();
54     _jspx_tagPool_c_set_var_value_scope.release();
55     _jspx_tagPool_c_set_var_value.release();
56     _jspx_tagPool_c_remove_var.release();
57     _jspx_tagPool_c_otherwise.release();
58   }
59
60   public void _jspService(HttpServletRequest request, HttpServletResponse response)
61         throws java.io.IOException JavaDoc, ServletException {
62
63     JspFactory _jspxFactory = null;
64     javax.servlet.jsp.PageContext JavaDoc pageContext = null;
65     HttpSession session = null;
66     ServletContext application = null;
67     ServletConfig config = null;
68     JspWriter out = null;
69     Object JavaDoc page = this;
70     JspWriter _jspx_out = null;
71
72
73     try {
74       _jspxFactory = JspFactory.getDefaultFactory();
75       response.setContentType("text/html;charset=ISO-8859-1");
76       pageContext = _jspxFactory.getPageContext(this, request, response,
77                 null, true, 8192, true);
78       application = pageContext.getServletContext();
79       config = pageContext.getServletConfig();
80       session = pageContext.getSession();
81       out = pageContext.getOut();
82       _jspx_out = out;
83
84       out.write("\r\n");
85       out.write("\r\n");
86       out.write("\r\n");
87       out.write("\r\n");
88       out.write("\r\n\r\n\r\n\r\n");
89       out.write("<html>\r\n");
90       out.write("<head>\r\n\t");
91       out.write("<title>search");
92       out.write("</title>\r\n\t");
93       out.write("<link rel=\"stylesheet\" type=\"text/css\" HREF=\"styles/global.css\">\t\r\n");
94       out.write("</head>\r\n\r\n");
95       out.write("<body class=\"text\" onload='setBallon(\"BallonTip\");' background=\"images/fond.gif\">\r\n\t");
96       out.write("<!-- scripts pour les tooltips, scripts for tooltips -->\r\n\t");
97       out.write("<div id=\"BallonTip\" style=\"POSITION:absolute; VISIBILITY:hidden; LEFT:-200px; Z-INDEX: 100\" class=\"text\">");
98       out.write("</div>\r\n\t");
99       out.write("<script language=\"JavaScript\" SRC=\"scripts/cross.js\">");
100       out.write("</script>\r\n\t");
101       out.write("<script language=\"JavaScript\" SRC=\"scripts/tooltips.js\">");
102       out.write("</script>\r\n\r\n\t");
103       out.write("<img SRC=\"images/search-tile.gif\" align=\"absmiddle\">\r\n\t");
104       out.write("<span class=\"title\">\r\n\t\t");
105       if (_jspx_meth_bean_message_0(pageContext))
106         return;
107       out.write("\r\n\t");
108       out.write("</span>\r\n\t");
109       out.write("<br>\r\n\t");
110       out.write("<form action=\"search.x\" method=\"POST\">\r\n\t\t");
111       out.write("<table>\r\n\t\t\t");
112       out.write("<tr>\r\n\t\t\t\t");
113       out.write("<td align=\"right\" class=\"text\">\r\n\t\t\t\t\t");
114       out.write("<b>\r\n\t\t\t\t\t\t");
115       if (_jspx_meth_bean_message_1(pageContext))
116         return;
117       out.write(" :&nbsp;\r\n\t\t\t\t\t");
118       out.write("</b>\r\n\t\t\t\t");
119       out.write("</td>\r\n\t\t\t\t");
120       out.write("<td>\r\n\t\t\t\t\t");
121       out.write("<input type=\"text\" name=\"keyWords\" style=\"width=200\">\r\n\t\t\t\t");
122       out.write("</td>\r\n\t\t\t");
123       out.write("</tr>\r\n\t\t\t");
124       out.write("<tr>\r\n\t\t\t\t");
125       out.write("<td align=\"right\" class=\"text\">\r\n\t\t\t\t\t");
126       out.write("<b>\r\n\t\t\t\t\t\tindex :&nbsp;\r\n\t\t\t\t\t");
127       out.write("</b>\r\n\t\t\t\t");
128       out.write("</td>\r\n\t\t\t\t");
129       out.write("<td>\r\n\t\t\t\t\t");
130       out.write("<select name=\"index\" style=\"width=120\">\r\n\t\t\t\t\t\t");
131       /* ---- c:forEach ---- */
132       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);
133       _jspx_th_c_forEach_0.setPageContext(pageContext);
134       _jspx_th_c_forEach_0.setParent(null);
135       _jspx_th_c_forEach_0.setItems("${indexs}");
136       _jspx_th_c_forEach_0.setVar("index");
137       try {
138         int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
139         if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
140           do {
141             out.write("\r\n\t\t\t\t\t\t\t");
142             out.write("<option value=\"");
143             if (_jspx_meth_c_out_0(_jspx_th_c_forEach_0, pageContext))
144               return;
145             out.write("\" ");
146             if (_jspx_meth_c_if_0(_jspx_th_c_forEach_0, pageContext))
147               return;
148             out.write(">");
149             if (_jspx_meth_c_out_1(_jspx_th_c_forEach_0, pageContext))
150               return;
151             out.write("</option>\r\n\t\t\t\t\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 JavaDoc _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\t\t\t\t\t");
166       out.write("</select>\r\n\t\t\t\t");
167       out.write("</td>\r\n\t\t\t");
168       out.write("</tr>\r\n\t\t\t");
169       out.write("<tr>\r\n\t\t\t\t");
170       out.write("<td valign=\"right\">\t\t\t\t\t\r\n\t\t\t\t");
171       out.write("</td>\r\n\t\t\t\t");
172       out.write("<td>\r\n\t\t\t\t\t");
173       out.write("<input type=\"submit\" value=\"");
174       if (_jspx_meth_bean_message_2(pageContext))
175         return;
176       out.write("\" class=\"button\"/>\r\n\t\t\t\t");
177       out.write("</td>\r\n\t\t\t");
178       out.write("</tr>\r\n\t\t");
179       out.write("</table>\t\t\t\r\n\t");
180       out.write("</form>\t\r\n\t\r\n\t");
181       out.write("<!-- publications list -->\r\n\t");
182       out.write("<span class=\"title-list\">");
183       if (_jspx_meth_bean_message_3(pageContext))
184         return;
185       out.write("</span>\r\n\t\r\n\t");
186       if (_jspx_meth_ion_security_0(pageContext))
187         return;
188       out.write("\r\n\t\r\n\t");
189       out.write("<hr width=\"100%\" size=\"1\" noshade color=\"#949494\"> \t\r\n\t");
190       /* ---- c:choose ---- */
191       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);
192       _jspx_th_c_choose_0.setPageContext(pageContext);
193       _jspx_th_c_choose_0.setParent(null);
194       int _jspx_eval_c_choose_0 = _jspx_th_c_choose_0.doStartTag();
195       if (_jspx_eval_c_choose_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
196         do {
197           out.write("\r\n\t\t");
198           out.write("<!-- il y a des publications à afficher, articles to show -->\r\n\t\t");
199           /* ---- c:when ---- */
200           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);
201           _jspx_th_c_when_0.setPageContext(pageContext);
202           _jspx_th_c_when_0.setParent(_jspx_th_c_choose_0);
203           _jspx_th_c_when_0.setTest("${result!=null}");
204           int _jspx_eval_c_when_0 = _jspx_th_c_when_0.doStartTag();
205           if (_jspx_eval_c_when_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
206             do {
207               out.write("\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t");
208               out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" width=\"600\">\r\n\t\t\t\t");
209  java.util.Vector JavaDoc v = new java.util.Vector JavaDoc();
210               out.write("\r\n\t\t\t\t");
211               /* ---- c:forEach ---- */
212               org.apache.taglibs.standard.tag.el.core.ForEachTag _jspx_th_c_forEach_1 = (org.apache.taglibs.standard.tag.el.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.el.core.ForEachTag.class);
213               _jspx_th_c_forEach_1.setPageContext(pageContext);
214               _jspx_th_c_forEach_1.setParent(_jspx_th_c_when_0);
215               _jspx_th_c_forEach_1.setVar("r");
216               _jspx_th_c_forEach_1.setItems("${result}");
217               _jspx_th_c_forEach_1.setVarStatus("status");
218               try {
219                 int _jspx_eval_c_forEach_1 = _jspx_th_c_forEach_1.doStartTag();
220                 if (_jspx_eval_c_forEach_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
221                   do {
222                     out.write("\r\n\t\t\t\t\t");
223                     if (_jspx_meth_c_set_0(_jspx_th_c_forEach_1, pageContext))
224                       return;
225                     out.write("\r\n\t\t\t\t\t");
226  if( !v.contains(pageContext.getAttribute("tid")) ) {
227                     out.write("\r\n\t\t\t\t\t\t");
228                     out.write("<tr>\r\n\t\t\t\t\t\t\t");
229                     out.write("<!-- nom (lien) -->\r\n\t\t\t\t\t\t\t");
230                     out.write("<td class=\"text\">\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t");
231                     out.write("<img SRC=\"images/pucef.gif\" align=\"absmiddle\">\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t");
232                     out.write("<a onclick=\"parent.frames['banner'].document.location='menu.x?tab=1'\" HREF=\"highlight.x?id=");
233                     if (_jspx_meth_c_out_2(_jspx_th_c_forEach_1, pageContext))
234                       return;
235                     out.write("\" style=\"text-decoration:none\">");
236                     out.write("<strong style=\"color:#5e5e5e;\">\r\n\t\t\t\t\t\t\t\t\t");
237                     if (_jspx_meth_c_out_3(_jspx_th_c_forEach_1, pageContext))
238                       return;
239                     out.write(" (versions\r\n\t\t\t\t\t\t\t\t\t");
240                     /* ---- c:forEach ---- */
241                     org.apache.taglibs.standard.tag.el.core.ForEachTag _jspx_th_c_forEach_2 = (org.apache.taglibs.standard.tag.el.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.el.core.ForEachTag.class);
242                     _jspx_th_c_forEach_2.setPageContext(pageContext);
243                     _jspx_th_c_forEach_2.setParent(_jspx_th_c_forEach_1);
244                     _jspx_th_c_forEach_2.setVar("t");
245                     _jspx_th_c_forEach_2.setItems("${result}");
246                     try {
247                       int _jspx_eval_c_forEach_2 = _jspx_th_c_forEach_2.doStartTag();
248                       if (_jspx_eval_c_forEach_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
249                         do {
250                           out.write("\r\n\t\t\t\t\t\t\t\t\t\t");
251                           if (_jspx_meth_c_if_1(_jspx_th_c_forEach_2, pageContext))
252                             return;
253                           out.write("\r\n\t\t\t\t\t\t\t\t\t");
254                           int evalDoAfterBody = _jspx_th_c_forEach_2.doAfterBody();
255                           if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
256                             break;
257                         } while (true);
258                       }
259                       if (_jspx_th_c_forEach_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
260                         return;
261                     } catch (Throwable JavaDoc _jspx_exception) {
262                       _jspx_th_c_forEach_2.doCatch(_jspx_exception);
263                     } finally {
264                       _jspx_th_c_forEach_2.doFinally();
265                       _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_2);
266                     }
267                     out.write(")\r\n\t\t\t\t\t\t\t\t\t");
268                     if (_jspx_meth_c_remove_0(_jspx_th_c_forEach_1, pageContext))
269                       return;
270                     out.write("\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t");
271  v.add( pageContext.getAttribute("tid") );
272                     out.write("\r\n\t\t\t\t\t\t\t\t");
273                     out.write("</strong>");
274                     out.write("</a>\r\n\t\t\t\t\t\t\t");
275                     out.write("</td>\r\n\t\t\t\t\t\t");
276                     out.write("</tr>\r\n\t\t\t\t\t");
277  }
278                     out.write("\r\n\t\t\t\t");
279                     int evalDoAfterBody = _jspx_th_c_forEach_1.doAfterBody();
280                     if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
281                       break;
282                   } while (true);
283                 }
284                 if (_jspx_th_c_forEach_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
285                   return;
286               } catch (Throwable JavaDoc _jspx_exception) {
287                 _jspx_th_c_forEach_1.doCatch(_jspx_exception);
288               } finally {
289                 _jspx_th_c_forEach_1.doFinally();
290                 _jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_1);
291               }
292               out.write("\r\n\t\t\t");
293               out.write("</table>\r\n\t\t");
294               int evalDoAfterBody = _jspx_th_c_when_0.doAfterBody();
295               if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
296                 break;
297             } while (true);
298           }
299           if (_jspx_th_c_when_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
300             return;
301           _jspx_tagPool_c_when_test.reuse(_jspx_th_c_when_0);
302           out.write("\r\n\t\t");
303           out.write("<!-- il n'y a pas de publications à afficher, no articles to show -->\r\n\t\t");
304           if (_jspx_meth_c_otherwise_0(_jspx_th_c_choose_0, pageContext))
305             return;
306           out.write("\r\n\t");
307           int evalDoAfterBody = _jspx_th_c_choose_0.doAfterBody();
308           if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
309             break;
310         } while (true);
311       }
312       if (_jspx_th_c_choose_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
313         return;
314       _jspx_tagPool_c_choose.reuse(_jspx_th_c_choose_0);
315       out.write("\t\r\n\r\n");
316       out.write("</body>\r\n\r\n");
317       out.write("</html>\r\n");
318     } catch (Throwable JavaDoc t) {
319       out = _jspx_out;
320       if (out != null && out.getBufferSize() != 0)
321         out.clearBuffer();
322       if (pageContext != null) pageContext.handlePageException(t);
323     } finally {
324       if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
325     }
326   }
327
328   private boolean _jspx_meth_bean_message_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
329           throws Throwable JavaDoc {
330     JspWriter out = pageContext.getOut();
331     /* ---- bean:message ---- */
332     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
333     _jspx_th_bean_message_0.setPageContext(pageContext);
334     _jspx_th_bean_message_0.setParent(null);
335     _jspx_th_bean_message_0.setKey("search.title");
336     int _jspx_eval_bean_message_0 = _jspx_th_bean_message_0.doStartTag();
337     if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
338       return true;
339     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_0);
340     return false;
341   }
342
343   private boolean _jspx_meth_bean_message_1(javax.servlet.jsp.PageContext JavaDoc pageContext)
344           throws Throwable JavaDoc {
345     JspWriter out = pageContext.getOut();
346     /* ---- bean:message ---- */
347     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
348     _jspx_th_bean_message_1.setPageContext(pageContext);
349     _jspx_th_bean_message_1.setParent(null);
350     _jspx_th_bean_message_1.setKey("search.keywords");
351     int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
352     if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
353       return true;
354     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_1);
355     return false;
356   }
357
358   private boolean _jspx_meth_c_out_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
359           throws Throwable JavaDoc {
360     JspWriter out = pageContext.getOut();
361     /* ---- c:out ---- */
362     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);
363     _jspx_th_c_out_0.setPageContext(pageContext);
364     _jspx_th_c_out_0.setParent(_jspx_th_c_forEach_0);
365     _jspx_th_c_out_0.setValue("${index}");
366     int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
367     if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
368       return true;
369     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_0);
370     return false;
371   }
372
373   private boolean _jspx_meth_c_if_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
374           throws Throwable JavaDoc {
375     JspWriter out = pageContext.getOut();
376     /* ---- c:if ---- */
377     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);
378     _jspx_th_c_if_0.setPageContext(pageContext);
379     _jspx_th_c_if_0.setParent(_jspx_th_c_forEach_0);
380     _jspx_th_c_if_0.setTest("${index==param['index']}");
381     int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
382     if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
383       do {
384         out.write("selected");
385         int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
386         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
387           break;
388       } while (true);
389     }
390     if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
391       return true;
392     _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
393     return false;
394   }
395
396   private boolean _jspx_meth_c_out_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
397           throws Throwable JavaDoc {
398     JspWriter out = pageContext.getOut();
399     /* ---- c:out ---- */
400     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);
401     _jspx_th_c_out_1.setPageContext(pageContext);
402     _jspx_th_c_out_1.setParent(_jspx_th_c_forEach_0);
403     _jspx_th_c_out_1.setValue("${index}");
404     int _jspx_eval_c_out_1 = _jspx_th_c_out_1.doStartTag();
405     if (_jspx_th_c_out_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
406       return true;
407     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_1);
408     return false;
409   }
410
411   private boolean _jspx_meth_bean_message_2(javax.servlet.jsp.PageContext JavaDoc pageContext)
412           throws Throwable JavaDoc {
413     JspWriter out = pageContext.getOut();
414     /* ---- bean:message ---- */
415     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_2 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
416     _jspx_th_bean_message_2.setPageContext(pageContext);
417     _jspx_th_bean_message_2.setParent(null);
418     _jspx_th_bean_message_2.setKey("search.search.searchbutton");
419     int _jspx_eval_bean_message_2 = _jspx_th_bean_message_2.doStartTag();
420     if (_jspx_th_bean_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
421       return true;
422     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_2);
423     return false;
424   }
425
426   private boolean _jspx_meth_bean_message_3(javax.servlet.jsp.PageContext JavaDoc pageContext)
427           throws Throwable JavaDoc {
428     JspWriter out = pageContext.getOut();
429     /* ---- bean:message ---- */
430     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_3 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
431     _jspx_th_bean_message_3.setPageContext(pageContext);
432     _jspx_th_bean_message_3.setParent(null);
433     _jspx_th_bean_message_3.setKey("search.result");
434     int _jspx_eval_bean_message_3 = _jspx_th_bean_message_3.doStartTag();
435     if (_jspx_th_bean_message_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
436       return true;
437     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_3);
438     return false;
439   }
440
441   private boolean _jspx_meth_ion_security_0(javax.servlet.jsp.PageContext JavaDoc pageContext)
442           throws Throwable JavaDoc {
443     JspWriter out = pageContext.getOut();
444     /* ---- ion:security ---- */
445     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);
446     _jspx_th_ion_security_0.setPageContext(pageContext);
447     _jspx_th_ion_security_0.setParent(null);
448     _jspx_th_ion_security_0.setAction("canCreateSection");
449     _jspx_th_ion_security_0.setUser("${userLogin}");
450     int _jspx_eval_ion_security_0 = _jspx_th_ion_security_0.doStartTag();
451     if (_jspx_eval_ion_security_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
452       do {
453         out.write("\r\n\t\t( ");
454         out.write("<img SRC=\"images/clef.gif\" align=\"absmiddle\">&nbsp;");
455         out.write("<a HREF=\"reIndex.x\">");
456         if (_jspx_meth_bean_message_4(_jspx_th_ion_security_0, pageContext))
457           return true;
458         out.write("</a> )\r\n\t");
459         int evalDoAfterBody = _jspx_th_ion_security_0.doAfterBody();
460         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
461           break;
462       } while (true);
463     }
464     if (_jspx_th_ion_security_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
465       return true;
466     _jspx_tagPool_ion_security_user_action.reuse(_jspx_th_ion_security_0);
467     return false;
468   }
469
470   private boolean _jspx_meth_bean_message_4(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_ion_security_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
471           throws Throwable JavaDoc {
472     JspWriter out = pageContext.getOut();
473     /* ---- bean:message ---- */
474     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_4 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
475     _jspx_th_bean_message_4.setPageContext(pageContext);
476     _jspx_th_bean_message_4.setParent(_jspx_th_ion_security_0);
477     _jspx_th_bean_message_4.setKey("search.reindex");
478     int _jspx_eval_bean_message_4 = _jspx_th_bean_message_4.doStartTag();
479     if (_jspx_th_bean_message_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
480       return true;
481     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_4);
482     return false;
483   }
484
485   private boolean _jspx_meth_c_set_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
486           throws Throwable JavaDoc {
487     JspWriter out = pageContext.getOut();
488     /* ---- c:set ---- */
489     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_scope.get(org.apache.taglibs.standard.tag.el.core.SetTag.class);
490     _jspx_th_c_set_0.setPageContext(pageContext);
491     _jspx_th_c_set_0.setParent(_jspx_th_c_forEach_1);
492     _jspx_th_c_set_0.setVar("tid");
493     _jspx_th_c_set_0.setValue("${r.publication.id}");
494     _jspx_th_c_set_0.setScope("page");
495     int _jspx_eval_c_set_0 = _jspx_th_c_set_0.doStartTag();
496     if (_jspx_th_c_set_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
497       return true;
498     _jspx_tagPool_c_set_var_value_scope.reuse(_jspx_th_c_set_0);
499     return false;
500   }
501
502   private boolean _jspx_meth_c_out_2(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
503           throws Throwable JavaDoc {
504     JspWriter out = pageContext.getOut();
505     /* ---- c:out ---- */
506     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);
507     _jspx_th_c_out_2.setPageContext(pageContext);
508     _jspx_th_c_out_2.setParent(_jspx_th_c_forEach_1);
509     _jspx_th_c_out_2.setValue("${r.publication.id}");
510     int _jspx_eval_c_out_2 = _jspx_th_c_out_2.doStartTag();
511     if (_jspx_th_c_out_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
512       return true;
513     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_2);
514     return false;
515   }
516
517   private boolean _jspx_meth_c_out_3(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
518           throws Throwable JavaDoc {
519     JspWriter out = pageContext.getOut();
520     /* ---- c:out ---- */
521     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);
522     _jspx_th_c_out_3.setPageContext(pageContext);
523     _jspx_th_c_out_3.setParent(_jspx_th_c_forEach_1);
524     _jspx_th_c_out_3.setValue("${r.publication.metaData['name']}");
525     int _jspx_eval_c_out_3 = _jspx_th_c_out_3.doStartTag();
526     if (_jspx_th_c_out_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
527       return true;
528     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_3);
529     return false;
530   }
531
532   private boolean _jspx_meth_c_if_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_2, javax.servlet.jsp.PageContext JavaDoc pageContext)
533           throws Throwable JavaDoc {
534     JspWriter out = pageContext.getOut();
535     /* ---- c:if ---- */
536     org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.el.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
537     _jspx_th_c_if_1.setPageContext(pageContext);
538     _jspx_th_c_if_1.setParent(_jspx_th_c_forEach_2);
539     _jspx_th_c_if_1.setTest("${t.publication.id==r.publication.id}");
540     int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
541     if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
542       do {
543         out.write("\r\n\t\t\t\t\t\t\t\t\t\t\t");
544         if (_jspx_meth_c_if_2(_jspx_th_c_if_1, pageContext))
545           return true;
546         out.write("\r\n\t\t\t\t\t\t\t\t\t\t\t");
547         if (_jspx_meth_c_set_1(_jspx_th_c_if_1, pageContext))
548           return true;
549         out.write("\r\n\t\t\t\t\t\t\t\t\t\t\t");
550         if (_jspx_meth_c_out_4(_jspx_th_c_if_1, pageContext))
551           return true;
552         out.write("\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t");
553         int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
554         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
555           break;
556       } while (true);
557     }
558     if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
559       return true;
560     _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
561     return false;
562   }
563
564   private boolean _jspx_meth_c_if_2(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_if_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
565           throws Throwable JavaDoc {
566     JspWriter out = pageContext.getOut();
567     /* ---- c:if ---- */
568     org.apache.taglibs.standard.tag.el.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.el.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.el.core.IfTag.class);
569     _jspx_th_c_if_2.setPageContext(pageContext);
570     _jspx_th_c_if_2.setParent(_jspx_th_c_if_1);
571     _jspx_th_c_if_2.setTest("${virgule!=null}");
572     int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag();
573     if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
574       do {
575         out.write(", ");
576         int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody();
577         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
578           break;
579       } while (true);
580     }
581     if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
582       return true;
583     _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2);
584     return false;
585   }
586
587   private boolean _jspx_meth_c_set_1(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_if_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
588           throws Throwable JavaDoc {
589     JspWriter out = pageContext.getOut();
590     /* ---- c:set ---- */
591     org.apache.taglibs.standard.tag.el.core.SetTag _jspx_th_c_set_1 = (org.apache.taglibs.standard.tag.el.core.SetTag) _jspx_tagPool_c_set_var_value.get(org.apache.taglibs.standard.tag.el.core.SetTag.class);
592     _jspx_th_c_set_1.setPageContext(pageContext);
593     _jspx_th_c_set_1.setParent(_jspx_th_c_if_1);
594     _jspx_th_c_set_1.setVar("virgule");
595     _jspx_th_c_set_1.setValue("V");
596     int _jspx_eval_c_set_1 = _jspx_th_c_set_1.doStartTag();
597     if (_jspx_th_c_set_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
598       return true;
599     _jspx_tagPool_c_set_var_value.reuse(_jspx_th_c_set_1);
600     return false;
601   }
602
603   private boolean _jspx_meth_c_out_4(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_if_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
604           throws Throwable JavaDoc {
605     JspWriter out = pageContext.getOut();
606     /* ---- c:out ---- */
607     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);
608     _jspx_th_c_out_4.setPageContext(pageContext);
609     _jspx_th_c_out_4.setParent(_jspx_th_c_if_1);
610     _jspx_th_c_out_4.setValue("${t.version}");
611     int _jspx_eval_c_out_4 = _jspx_th_c_out_4.doStartTag();
612     if (_jspx_th_c_out_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
613       return true;
614     _jspx_tagPool_c_out_value.reuse(_jspx_th_c_out_4);
615     return false;
616   }
617
618   private boolean _jspx_meth_c_remove_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_forEach_1, javax.servlet.jsp.PageContext JavaDoc pageContext)
619           throws Throwable JavaDoc {
620     JspWriter out = pageContext.getOut();
621     /* ---- c:remove ---- */
622     org.apache.taglibs.standard.tag.common.core.RemoveTag _jspx_th_c_remove_0 = (org.apache.taglibs.standard.tag.common.core.RemoveTag) _jspx_tagPool_c_remove_var.get(org.apache.taglibs.standard.tag.common.core.RemoveTag.class);
623     _jspx_th_c_remove_0.setPageContext(pageContext);
624     _jspx_th_c_remove_0.setParent(_jspx_th_c_forEach_1);
625     _jspx_th_c_remove_0.setVar("virgule");
626     int _jspx_eval_c_remove_0 = _jspx_th_c_remove_0.doStartTag();
627     if (_jspx_th_c_remove_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
628       return true;
629     _jspx_tagPool_c_remove_var.reuse(_jspx_th_c_remove_0);
630     return false;
631   }
632
633   private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_choose_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
634           throws Throwable JavaDoc {
635     JspWriter out = pageContext.getOut();
636     /* ---- c:otherwise ---- */
637     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);
638     _jspx_th_c_otherwise_0.setPageContext(pageContext);
639     _jspx_th_c_otherwise_0.setParent(_jspx_th_c_choose_0);
640     int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag();
641     if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
642       do {
643         out.write("\r\n\t\t\t");
644         out.write("<i>(");
645         if (_jspx_meth_bean_message_5(_jspx_th_c_otherwise_0, pageContext))
646           return true;
647         out.write(")");
648         out.write("</i>\r\n\t\t");
649         int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody();
650         if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
651           break;
652       } while (true);
653     }
654     if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
655       return true;
656     _jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0);
657     return false;
658   }
659
660   private boolean _jspx_meth_bean_message_5(javax.servlet.jsp.tagext.Tag JavaDoc _jspx_th_c_otherwise_0, javax.servlet.jsp.PageContext JavaDoc pageContext)
661           throws Throwable JavaDoc {
662     JspWriter out = pageContext.getOut();
663     /* ---- bean:message ---- */
664     org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_5 = (org.apache.struts.taglib.bean.MessageTag) _jspx_tagPool_bean_message_key.get(org.apache.struts.taglib.bean.MessageTag.class);
665     _jspx_th_bean_message_5.setPageContext(pageContext);
666     _jspx_th_bean_message_5.setParent(_jspx_th_c_otherwise_0);
667     _jspx_th_bean_message_5.setKey("search.noResult");
668     int _jspx_eval_bean_message_5 = _jspx_th_bean_message_5.doStartTag();
669     if (_jspx_th_bean_message_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
670       return true;
671     _jspx_tagPool_bean_message_key.reuse(_jspx_th_bean_message_5);
672     return false;
673   }
674 }
675
Popular Tags