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 di...@apache.org on 2007/06/23 13:27:37 UTC

svn commit: r550030 - in /webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web: EngageToServiceGroup.jsp ListServiceGroup.jsp ViewGlobalHandlers.jsp engagingtoaservice.jsp

Author: dims
Date: Sat Jun 23 04:27:35 2007
New Revision: 550030

URL: http://svn.apache.org/viewvc?view=rev&rev=550030
Log:
Fix breakages in jsp's. Folks, please be careful when making API changes, check the JSP's as well

Modified:
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/EngageToServiceGroup.jsp
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ListServiceGroup.jsp
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ViewGlobalHandlers.jsp
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/engagingtoaservice.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/EngageToServiceGroup.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/EngageToServiceGroup.jsp?view=diff&rev=550030&r1=550029&r2=550030
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/EngageToServiceGroup.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/EngageToServiceGroup.jsp Sat Jun 23 04:27:35 2007
@@ -1,7 +1,7 @@
 <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="org.apache.axis2.Constants,
                                                                              org.apache.axis2.description.AxisModule,
                                                                              org.apache.axis2.description.AxisServiceGroup,
-                                                                             java.util.Collection" errorPage="" %>
+                                                                             java.util.Collection" %>
 <%@ page import="java.util.HashMap"%>
 <%@ page import="java.util.Iterator"%>
 <%

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ListServiceGroup.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ListServiceGroup.jsp?view=diff&rev=550030&r1=550029&r2=550030
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ListServiceGroup.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ListServiceGroup.jsp Sat Jun 23 04:27:35 2007
@@ -4,6 +4,8 @@
 <%@ page import="javax.xml.namespace.QName" %>
 <%@ page import="java.util.ArrayList" %>
 <%@ page import="java.util.Iterator" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="org.apache.axis2.description.AxisModule" %>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <%
  /*
@@ -33,7 +35,7 @@
     while (axisServiceGroupIter.hasNext()) {
         AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisServiceGroupIter.next();
         String groupName = axisServiceGroup.getServiceGroupName();
-        ArrayList modules = axisServiceGroup.getEngagedModules();
+        Collection modules = axisServiceGroup.getEngagedModules();
         Iterator axisServiceIter = axisServiceGroup.getServices();
 %>
 <h2><%=groupName%></h2><ul>
@@ -53,8 +55,9 @@
 %>
 <I>Engaged modules</I><ul>
     <%
-        for (int i = 0; i < modules.size(); i++) {
-            String modulDesc = (String) modules.get(i);
+        for (Iterator iterator = modules.iterator(); iterator.hasNext();) {
+            AxisModule axisOperation = (AxisModule) iterator.next();
+            String modulDesc = axisOperation.getName();
     %>
     <li><%=modulDesc%></li>
     <%

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ViewGlobalHandlers.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ViewGlobalHandlers.jsp?view=diff&rev=550030&r1=550029&r2=550030
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ViewGlobalHandlers.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/ViewGlobalHandlers.jsp Sat Jun 23 04:27:35 2007
@@ -31,7 +31,7 @@
                     getAttribute(Constants.GLOBAL_HANDLERS);
              if(axisConfig != null ){
                  ArrayList handlers ;
-                 ArrayList phases = axisConfig.getGlobalInFlow();
+                 ArrayList phases = axisConfig.getInFlowPhases();
                  %>
                  <h3> In Flow Up To and Including Dispatcher </h3>
                  <ul>
@@ -56,7 +56,7 @@
                  %>
                  </ul>
                  <%
-                 phases = axisConfig.getInFaultFlow();
+                 phases = axisConfig.getInFaultFlowPhases();
                  %>
                  <h3> In Fault Flow </h3>
                  <ul>
@@ -82,7 +82,7 @@
                  </ul>
                  <%
 
-                 phases = axisConfig.getGlobalOutPhases();
+                 phases = axisConfig.getOutFlowPhases();
                  %>
                  <h3> Out Flow </h3>
                  <ul>
@@ -107,7 +107,7 @@
                  %>
                  </ul>
                  <%
-                 phases = axisConfig.getOutFaultFlow();
+                 phases = axisConfig.getOutFaultFlowPhases();
                  %>
                  <h3> Out Fault Flow </h3>
                  <ul>

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/engagingtoaservice.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/engagingtoaservice.jsp?view=diff&rev=550030&r1=550029&r2=550030
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/engagingtoaservice.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/engagingtoaservice.jsp Sat Jun 23 04:27:35 2007
@@ -4,7 +4,7 @@
                                                                              java.util.Collection,
                                                                              java.util.HashMap,
                                                                              java.util.Iterator"
-         errorPage="" %>
+         %>
 <%
 /*
  * Copyright 2004,2005 The Apache Software Foundation.



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