source: gs3-extensions/pharos/trunk/web/axis2-web/globalModules.jsp@ 20983

Last change on this file since 20983 was 20983, checked in by davidb, 14 years ago

Initial files for Phrasos extension to Greenstone3

File size: 2.1 KB
Line 
1 <%--
2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
17 ~ under the License.
18 --%> <%@ page import="org.apache.axis2.Constants,
19 org.apache.axis2.description.AxisModule,
20 java.util.Collection,
21 java.util.Iterator"%>
22 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
23<jsp:include page="include/adminheader.jsp"></jsp:include>
24<h1>Globally Engaged Modules</h1>
25 <%
26 boolean foundModules = false;
27 boolean wroteUL = false;
28 String modulename = "";
29 Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP);
30 request.getSession().setAttribute(Constants.MODULE_MAP, null);
31 if (moduleCol != null && moduleCol.size() > 0) {
32 for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
33 AxisModule axisOperation = (AxisModule) iterator.next();
34 modulename = axisOperation.getName();
35 if (!wroteUL) {
36 wroteUL = true;
37 %>
38 <ul>
39<%
40 }
41 %><li><%=modulename%></li>
42 <br> <%
43 }
44 if (wroteUL){
45%>
46 </ul>
47<%
48 }
49 } else{
50 %>
51 <h2><font color="blue">There are no modules engaged globally</font></h2>
52 <%
53 }
54 %>
55<jsp:include page="include/adminfooter.inc"></jsp:include>
Note: See TracBrowser for help on using the repository browser.