You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2007/01/30 04:50:16 UTC

svn commit: r501303 - /webservices/axis2/trunk/java/modules/webapp/listModules.jsp

Author: deepal
Date: Mon Jan 29 19:50:11 2007
New Revision: 501303

URL: http://svn.apache.org/viewvc?view=rev&rev=501303
Log:
fixing  AXIS2-2004

Modified:
    webservices/axis2/trunk/java/modules/webapp/listModules.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/listModules.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/listModules.jsp?view=diff&rev=501303&r1=501302&r2=501303
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/listModules.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/listModules.jsp Mon Jan 29 19:50:11 2007
@@ -34,19 +34,24 @@
          request.getSession().setAttribute(Constants.MODULE_MAP,null);
          Hashtable errornesModules =(Hashtable)request.getSession().getAttribute(Constants.ERROR_MODULE_MAP);
          if (moduleMap!=null && !moduleMap.isEmpty()){
-             String modulename = "";
+             String modulename ;
+             String moduleDescription ;
              Collection moduleNames = moduleMap.values();
              for (Iterator iterator = moduleNames.iterator(); iterator.hasNext();) {
                  foundModules = true;
                  AxisModule  moduleQName = (AxisModule) iterator.next();
                  modulename = moduleQName.getName().getLocalPart();
-		if (!wroteUL){
+                 moduleDescription = moduleQName.getModuleDescription();
+                 if(moduleDescription==null){
+                     moduleDescription = "[ --  No module description found  --]";
+                 }
+        if (!wroteUL){
 			wroteUL = true;
 %>
 	<ul>
 <%
 		}
-     %><li><%=modulename%></li>
+     %><li><b><%=modulename%></b> : <%=moduleDescription%></li>
       <%
              }
 		if (wroteUL){



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