axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r554004 - /webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp
Date Fri, 06 Jul 2007 19:17:24 GMT
Author: deepal
Date: Fri Jul  6 12:17:23 2007
New Revision: 554004

URL: http://svn.apache.org/viewvc?view=rev&rev=554004
Log:
fixing web app errors

Modified:
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp?view=diff&rev=554004&r1=554003&r2=554004
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp
(original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/globalModules.jsp
Fri Jul  6 12:17:23 2007
@@ -20,22 +20,23 @@
                  javax.xml.namespace.QName,
                  java.util.Collection,
                  java.util.Iterator"%>
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+ <%@ page import="org.apache.axis2.description.AxisModule" %>
+ <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <jsp:include page="include/adminheader.jsp"></jsp:include>
 <h1>Globally Engaged Modules</h1>
      <%
-	boolean foundModules = false;
-	boolean wroteUL = false;
+         boolean foundModules = false;
+         boolean wroteUL = false;
          String modulename = "";
-         Collection moduleCol = (Collection)request.getSession().getAttribute(Constants.MODULE_MAP);
-         request.getSession().setAttribute(Constants.MODULE_MAP,null);
-         if(moduleCol != null && moduleCol.size() > 0) {
+         Collection moduleCol = (Collection) request.getSession().getAttribute(Constants.MODULE_MAP);
+         request.getSession().setAttribute(Constants.MODULE_MAP, null);
+         if (moduleCol != null && moduleCol.size() > 0) {
              for (Iterator iterator = moduleCol.iterator(); iterator.hasNext();) {
-                 String axisOperation = (String) iterator.next();
-                 modulename = axisOperation;
-		if (!wroteUL){
-			wroteUL = true;
-%>
+                 AxisModule axisOperation = (AxisModule) iterator.next();
+                 modulename = axisOperation.getName();
+                 if (!wroteUL) {
+                     wroteUL = true;
+     %>
 	<ul>
 <%
 		}



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message